[Vimoutliner] how to abstract from tree to graphs, or at least have hyperlinks

Steve Litt slitt at troubleshooters.com
Thu Jun 15 10:55:37 EDT 2006


On Thursday 15 June 2006 09:35 am, Peter Princz wrote:
> Sorry for the noise, still thinking aloud.
> I found and tested the first workaround: by inserting a unique
> timestamp into the lines involved into the back-and-forth jump, *
> could be used to do the trick and still, the two strings can be
> different. (Imagine foo is the slogan in the Diary, while bar is the
> project wbs leaf in the example below. Don't want to repeat the whole
> example with the <tab>'s...)
>
> 	[_] foo, will jump to bar (#20060615151946#)
> 	[_] test, will be jumped over (#20060615152238#)
> 	[_] bar, will jump to foo (#20060615151946#)
>
> Only I have to move between the two #'s with the cursor, and then *
> will jump to the mate line with the same timestamp.
> This timestamp is not that distracting, only I have to hack ,,d and
> ,,t to remove punctuation, thus get a single-word timestamp, as in the
> example above.
> Timestamps would be added to the project area leafs only, and then
> yanked into the calendar.
> The timestamp has the additional benefit of showing the age of a task,
> i.e. when it was created or selected to be done on a certain date...
>
> What do you think?
>
> Have a nice day,
>   Peter


I tried it, it works -- pretty slick!

Now my question is this... Is this better than tweaking interoutline linking 
to enable intRAoutline linking, in which case you'd go one way with Ctrl+K, 
and back via Ctrl+N.

In 2001 I tried to implement intRAoutline linking along with intERoutline 
linking, but I ran out of time trying to understand the ctags documentation. 
Nevertheless, the reading I did at the time indicates that it's doable in a 
straightforward manner -- I just don't know exactly how.

The VO syntax would probably be:

_tag_localtree
	#mylabel

The same thing would also implement jumping to a *particular part* of another 
outline, as in...

_tag_specific_tree_in_other_file
	/data/programming/c/myspecs.otl#mylabel

All that's required to do this is a knowledge of ctags. I think the mods to 
vo_maketags.pl would be easy. As far as backward compatibility, we rebuild 
our tags every time we incorporate a new file, so we'd simply switch tag file 
formats on one of those rebuilds.

If we decide to do the timestamp method (or both), it would be pretty easy to 
create a commacomma command to install the pound sign delimited timestamp, 
while leaving ,,d and ,,t as they are.

So, who is a ctags expert?

Good idea Peter!

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


More information about the VimOutliner mailing list