[Vimoutliner] how to abstract from tree to graphs,
or at least have hyperlinks
Steve Litt
slitt at troubleshooters.com
Wed Jul 5 19:57:17 EDT 2006
On Wednesday 05 July 2006 09:27 am, Peter Princz wrote:
> Hi VimOutliners,
>
> On 15/06/06, Steve Litt <slitt at troubleshooters.com> wrote:
> > 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#)
> >>
> >> ...
> >>
> > > 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...
> >
> > 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
>
> for the records only: I've been testing this workaround for approx. 3
> weeks and I'm very happy with it. I think I'll stick with it and leave
> the ctags path for others.
> There was a minor issue but I could fix it: imagine a week when you
> want to be reminded every day from Monday thru Friday to roll the ball
> a bit forward in a project. Then * on Monday will *not* jump to the
> actual work item in the work breakdown structure, but to Tuesday,
> Wednesday, etc. instead. This can be a pain.
> However, if you have top level intries in your outline (Diary and
> Tasks for example), and have bookmarks for these, then it's quite
> simple to "jump out" from Diary, irrespective of how many links do you
> have put to a given work item.
>
> So I do * on the timestamp in the reminder in the Diary, and if it
> keeps me still in Diary, then a 'T to jump to 'Tasks', and n from
> there to jump to the needed item.
>
> This way I can have arbitrary number of reminders to a given work item.
>
> Have a nice day,
> Peter
Peter,
Could you please send a trivial example file to the list, together with
rudimentary instructions on how to use this "workaround"? It sounds like
something I'd like to do, but I don't understand it fully enough to use it.
Thanks
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