On Fri, Jun 26, 2020 at 10:15 am, Adam Williamson <adamw...@fedoraproject.org> wrote:
On Fri, 2020-06-26 at 12:39 -0400, Neil Horman wrote:

Also, have we asked the question, what default editor are other distros setting?
 I've honestly never looked.

I believe no major distro currently sets $EDITOR, so we would be the first.

Debian/Ubuntu/Mint use https://salsa.debian.org/debian/sensible-utils for this. I checked Ubuntu yesterday and they build git with DEFAULT_EDITOR=editor, which chooses nano. (They also use DEFAULT_PAGER=pager, which I guess is how you would allow configuring 'most'.)

An earlier version of the change proposal involved packaging up these Debain tools, but I suggested that setting $EDITOR would be a whole lot easier.

On the other hand, if we were to package sensible-utils, it's likely other independent distros would follow, and we would turn it into a cross-distro standard. So it's worth considering.

Michael

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to