nocp/cp

Pierre Habouzit pierre.habouzit at m4x.org
Sat Jun 3 12:06:52 UTC 2006


Le Sam 3 Juin 2006 12:52, Stefano Zacchiroli a écrit :
> On Sat, Jun 03, 2006 at 12:10:33PM +0200, Pierre Habouzit wrote:

> > if $command == vi AND user_wanted_compatible
> >   set cp
> > else
> >   " rest of the debian.vim
> > fi
> >
> > of course user_wanted_compatible is a ##FORCE_COMPATIBLE## thing,
> > that is sed-ed to true/false depending upon what the user wanted,
> > from the debian.vim.template in the same directory.
> >
> > (it's only an idea of implementation btw).

> Sounds like a nice implementation plan, if noone else step forward I
> can have a look at it, otherwise I will re-start my work on
> vim-spellfiles (quite dead since I completely forget about it, until
> this morning, after my return from debconf :-))

it looks like it's tedious to make the behaviour changed in each 
vim-variant, that would be horribly complex code, and worse, have 
undefined behaviour with multiple vim-variants installed.

I've already pushed the decision to use compatible/no-compatible mode 
into debian.vim.

I suppose the debconf bit will move in vim-common.config/postinst. But 
that means that I can't force default to be 'compatible' for 
vim-variant, with a low priority question, and to nocompatible with a 
normal priority to other variants.

so do you think that putting the question to "normal" with defaults 
to "nocompatible" would break the agreement that made vim-tiny enter 
base ?

I feel a bit stuck at this point.

-- 
·O·  Pierre Habouzit
··O                                                madcoder at debian.org
OOO                                                http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060603/36894d41/attachment.pgp


More information about the pkg-vim-maintainers mailing list