Red Hat Bugzilla – Bug 49232
updated elm defaults to emacs as editor previous was vi
Last modified: 2015-01-07 18:48:03 EST
Description of Problem:
previous versions of elm used vi.
Not have emacs installed and try to reply to an email. Will not be able to
Hmmmm... detected when creating the config file, as I obviously have it
installed. Oh well... just specify the editor in your config file or set EDITOR.
Or install emacs, of course :)
I'm re-opening this defect (a) at the request of the submitter, and (b) because
I agree that changing the default editor without adequate justification is a
defect. If it is determined that the upstream maintainer of elm changed this,
then this defect can be closed (again). But if this is a typo (or a thinko),
the original "default behavior" must be re-instated.
What happened is that elm picks up the default editor (EDITOR) on your system
when configuring... which is emacs on my system. This is just the default pick,
and should be overriden with your EDITOR variable or config file.
While not a bug, it is a change in behaviour which it will be hardcoded not to
to do in future releases.
2.5.5-3 is back to vi as default (which looks like a natural match for elm).
Flame wars aside (emacs vs. vi) . The mystery question is why did it default to
emacs is not installed? It should have picked vi then, shouldnt it? Since this
vanilla 7.1 plus patches where is the default EDITOR set? In the environmental
variables or in elmrc or $HOME/.elm/elmrc?
It will use the EDITOR variable anytime, but the default is only detected during
the configure phase.