Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] initialization of main keymap



Bart Schaefer wrote on Fri, Sep 02, 2022 at 09:48:31 -0700:
> On Fri, Sep 2, 2022 at 1:56 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > If the default were /either/ vi or emacs, a patch making the default
> > depend on the value of $EDITOR would never have been accepted.
> 
> Hm.  Given that this has been the behavior since before zsh was even
> released to the public, I'm not sure how to interpret that.

I'm saying that /if/ we were in an alternative universe in which zsh's
behaviour was "default to emacs regardless of envvars", and in that
universe someone proposed a patch to change the behaviour to this
universe's behaviour, that universe's maintainers would have rejected
the patch.

That's meant as an argument in favour of changing the behaviour: if we
could have chosen between the incumbent behaviour and the proposed
behaviour /a priori/, we would have preferred the proposed to the
incumbent.

Cheers,

Daniel




Messages sorted by: Reverse Date, Date, Thread, Author