On 26/06/20 14:03 +0200, Theodore Papadopoulo wrote:
On 6/26/20 1:30 PM, Qiyu Yan wrote:
Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx
<mailto:adamwill@xxxxxxxxxxxxxxxxx>> 于 2020年6月26日周五 上午9:32写道:
On Fri, 2020-06-26 at 08:44 +0800, Qiyu Yan wrote:
> What about to provide a prompt to the user telling them the difference
> between editors?
> For example, when a new user to fedora first invokes git commit
> without $EDITOR set, a program named fedora-default-editor comes up
> and asks: Which editor do you like?
> User can do his or hers choice and the choice will be remembered by
> setting $EDITOR in his or hers ~/.bashrc
>
> The fedora-default-editor can be a small script that shows user all
> the difference and set $EDITOR for the user.
It's a nice idea, but the problem with things like this is they
*always* introduce bugs, and often wind up being unmaintained, because
keeping them working is kind of a thankless task.
IMHO it's better to keep things simple and just pick a default. And the
default should definitely be nano. :D
Then I will +1 for this proposal. Yes, this certainly will make Fedora
easier use for beginners. And for those who would like to use vi as
default, we should make this as easy as possible.
This seems the best approach in my opinion.
I totally agree that having something simple is important for new users.
My only fear (and it applies to any default editor choice) is that the
default will be changed only by a minority of new-users, or after many
months.
Thus having an educational approach which tells the user how to
configure his environment properly (and eventually doing it for him from
a list of choices) seems the most friendly approach.
I must add that nano feels like an old VT100 editor. Not very appealing
to new users (but indeed very clear on how to operate). My guess is that
an average user will hope to see an editor application with icons and
everything to popup (call it notepad and you will fill all his/her
expectations ;-) )... Of course, this will not work in a linux terminal,
but most new users don't even know the concept of a terminal...
Why would $EDITOR even matter if they're not using the terminal?
_______________________________________________
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