moving 'autochdir' out of +netbeans_intg control

Bram Moolenaar Bram at moolenaar.net
Thu Apr 6 08:13:19 UTC 2006


Stefano -

>   some Debian developer pointed out that the stripped down version of
> Vim we ship has no support for 'autochdir'. The reason is that
> 'autochdir' needs netbeans integration support, which in turn is
> disabled when no GUI is available (the stripped down version of vim is
> compiled with no GUI).
> 
> I'm now wondering: why 'autochdir' need to be available only when
> netbeans integration is compiled in? Can't it be a vim option out of the
> box? To me and to other developers seem an useful option even if we
> don't care about netbeans.
> 
> The attached patch move 'autochdir' support out of netbeans support
> conditional compilation. What do you think of it?

Originally 'autochdir' was added for NetBeans.  I didn't like it very
much, because it makes Vim behavior less predictable, you need to know
the value of the option to predict what directory you are in.

By now quite a few people use the 'autochdir' option without NetBeans.
I think we should add a separate feature for this: FEAT_AUTOCHDIR.  It
will be enabled like now and when "big" features are used.

- Bram

-- 
login: yes
password: I don't know, please tell me
password is incorrect
login: yes
password: incorrect

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         ///



More information about the pkg-vim-maintainers mailing list