Bug#839265: vim-tiny: please increase add_variant_alternative

Adrian Bunk bunk at stusta.de
Sat Oct 1 10:55:34 UTC 2016


Control: reopen 839265

On Fri, Sep 30, 2016 at 07:42:21PM -0400, James McCoy wrote:
> On Sat, Oct 01, 2016 at 01:50:39AM +0300, Adrian Bunk wrote:
> > The postinst of vim-tiny uses the same priority 10 as e3vi
> > from the e3 package, which results in e3vi providing vi
> > instead of vim-tiny.
> 
> Only if e3vi is installed before vim-tiny.  When there are alternatives
> at the same priority, the one that already existed is preserved.

And that is a stupid way to set the priority when one alternative
is in general better.

e3 is one 10kB binary with keybindings for 5 different popular editors.

And even though it does support the basic keybindings, it does not aim
at being a complete drop-in replacement for editors like Vi or Emacs.

> Since vim-tiny is installed by default, e3vi shouldn't take precedence.
> >From a quick test in a chroot, that is the behavior I see as well.
> 
> > The vim-tiny binary is 100 times (sic) bigger than e3,
> > and should accordingly also provides more features than e3.
> > 
> > Please increase the priority to 11 or higher. 
> 
> Alternatives are there so the user can control which they
> want to use.

I am not talking about manual alternative setting by the user.

> I'm not going to play priority games.

For the record, it was me who did set the e3 priority back in 2001.

> Cheers,

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the pkg-vim-maintainers mailing list