'runtimepath' fiddling

Stefano Zacchiroli zack at debian.org
Thu Apr 27 00:23:40 UTC 2006


On Wed, Apr 26, 2006 at 10:57:56AM -0400, James Vega wrote:
> > I think vimrc.local should not exists.
> Currently, it does make sense that it existed, IMO.
<snip>

Agreed.

> Doing stuff before the runtime call isn't a good idea since performing
> "set nocompatible" may change what they've already set.  Either we leave
> that in /etc/vim/vimrc or we stop setting it by default or we put a note
> in /etc/vim/vimrc stating that they need to be aware of those effects.

Actually, I no longer see my point of doing stuff before 'runtime'. If
sysadm want to override debian specific settings they should do this
after it. It does not make any sense at all doing stuff before (except
if we do stuff which depend on variables or similar stuff, rather border
line cases ...)

I agree that we should document that we do set nocompatible in
debian.vim

> > Do you see any specific problem with any of the setting we currently
> > have in /etc/vim/vimrc?
> The one worry I have about this is that people will, again, decide not
> to look at the changes being introduced by us and will choose not to
> accept our vimrc or merge their changes into it.  Maybe we should add a
> NEWS entry explaining the changes and encouraging the sysadmin to
> perform the proper action.  This probably would have eased the
> transition last time, too.  Oh well, live and learn.

I assume you are talking about the upgrade in which we introduce this
change. This should hopefully be the last time we should worry about
this ... crap! As such it can deserve special treatment like the NEWS
entry you propose or even a postinst test that actually check if
'runtime' is actually ended in /etc/vim/vimrc or not, failing if not.
Well, this is too hard of course, but you got the picture.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060426/a370eaf9/attachment.pgp


More information about the pkg-vim-maintainers mailing list