On Fri, Jun 26, 2020 at 03:37:59PM +0100, Jonathan Wakely wrote:
On 26/06/20 13:11 +0000, Zbigniew Jędrzejewski-Szmek wrote:
>On Thu, Jun 25, 2020 at 01:59:39PM -0600, Chris Murphy wrote:
>>On Thu, Jun 25, 2020 at 1:58 PM Chris Murphy <lists(a)colorremedies.com>
>>> On Thu, Jun 25, 2020 at 1:48 PM Michael Catanzaro
>>> > On Thu, Jun 25, 2020 at 2:45 pm, Michael Catanzaro
>>> > <mcatanzaro(a)gnome.org> wrote:
>>> > > Yes. I already fixed the wiki page to clarify that we don't
>>> > > install nano, but I forgot to clarify that we will install
>>> > > nano-editor by default.
>>> > BTW maybe nano-editor is not the best name for the subpackage,
>>> > considering it will not include the nano text editor, but rather a
>>> > snippet to set $EDITOR. Any alternative naming proposals?
>>> nano-default ?
>>We're using zram-generator-defaults for this.
>>Which is better? default or defaults? I don't have a preference.
>I went with "-defaults" in this case because the package provides
>default configuration", i.e. "defaults".
>This doesn't translate exactly to the nano case, which is about making
>the program the default "plugin" in another program (git).
This is not really about Git, and it's certainly not a "plugin".
That's why I put the word in quotes. I think we all know what the
relationship between git and editor is in this case and I didn't want
to waste words to formulate this more precisely for no benefit.
Obeying EDITOR is required by POSIX e.g. see
Note that POSIX says "The default editor shall be vi." But that means
when EDITOR isn't set. If the system or a user sets EDITOR to
something else, it's still POSIX-conforming.
Personally, I don't care so much about what POSIX says. But not to worry:
in this case $EDITOR *will* be set, so we're all POSIX-compliant ;)