[Vimoutliner] Encrypted outline: was Obvious but don't get it: how do I move outline at N+1 to N

Steve Litt slitt at troubleshooters.com
Wed Sep 6 12:20:20 EDT 2006


On Wednesday 06 September 2006 09:30 am, Peter Princz wrote:
> Steve,
>
> On 04/09/06, Steve Litt <slitt at troubleshooters.com> wrote:
> > Yeah, I didn't do anything about it either. Back in those days I didn't
> > take VO on Windows seriously, but now that a lot of people are using it
> > on Windows, a more OS independent method of interoutline linking might be
> > preferable.
> >
> > If/when we implement it, we need to do so in a way that doesn't screw up
> > traditional interoutline linking. I've been using Ctags interoutline
> > linking since 2001.
> >
> > I'd suggest we have a config flag for linking_portable or
> > linking_classic, and to start out with default it to linking_classic. As
> > it proves itself able, (and this includes performance), switch the
> > default to linking_portable. If, over a period of a year or 2 the
> > portable method proves as good as or better than classic in every
> > respect, we can then deprecate classic.
> >
> > Which leaves just one question -- who will develop the linking_portable
> > code? Probably the people with the biggest itch (and the greatest
> > opportunity to test it) will be the VO on Windows users. Perhaps some of
> > them can develop it, and of course, we VO on Linux people will test their
> > code on Linux.
> >
> > Sound like a reasonable plan?
> >
> > SteveT
>
> it's maybe a stupid question, but what's wrong with ctags on Windows?
> I do have it anyway for coding reasons.
> It is you don't want to have yet another dependency to 3rd party tool?

Yes, I was thinking why use a 3rd party tool.

> Then we already have vimoutliner scriptified around in perl, python,
> ruby, etc...

That's a definite point. Is Exuberent Ctags free software?

There's a slight difference between Ctags and, let's say Python or Ruby. The 
Python and Ruby scripts are addons that process an outline, they don't 
implement basic features. AFAIK the only Perl script that implements a basic 
feature is vo_maketags.pl, which helps implement interoutline linking. If a 
pure Vim interoutline linking system could be implemented, and if that system 
were compatible with the Ctags as far as what happens when you Ctrl+T or 
Ctrl+N on a link, and if its performance is good, and if it doesn't clutter 
up the Vim source code too badly, and if somebody can develop it, then the 
basic VO no longer depends on either Perl or Ctags.

>
> Or: do ctags's features differ on Windows and Linux?

:-)  :-)  :-)  I have no idea! What I know about Ctags could fit on the head 
of a pin, which is kind of funny considering I was the guy who developed 
Ctags based interoutline linking for VO.

Until you mentioned it a few days ago, I had no idea Ctags existed for 
Windows.

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