Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Jun 25, 2020 at 1:48 PM Michael Catanzaro <mcatanzaro@xxxxxxxxx> wrote:
> >
> > On Thu, Jun 25, 2020 at 2:45 pm, Michael Catanzaro
> > <mcatanzaro@xxxxxxxxx> wrote:
> > > Yes. I already fixed the wiki page to clarify that we don't need to
> > > 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 conf
> > snippet to set $EDITOR. Any alternative naming proposals?
>
> nano-default ?

We're using zram-generator-defaults for this.
https://koji.fedoraproject.org/koji/buildinfo?buildID=1527737

Which is better? default or defaults? I don't have a preference.

I went with "-defaults" in this case because the package provides "the
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".

Obeying EDITOR is required by POSIX e.g. see
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_08

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.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux