Bug 49232

Summary: updated elm defaults to emacs as editor previous was vi
Product: [Retired] Red Hat Linux Reporter: Henri Schlereth <henris>
Component: elmAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-17 15:39:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Henri Schlereth 2001-07-17 09:05:11 UTC
Description of Problem:
previous versions of elm used vi.

How Reproducible:
Not have emacs installed and try to reply to an email. Will not be able to
edit.

Comment 1 Trond Eivind Glomsrxd 2001-07-17 14:17:00 UTC
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 :)

Comment 2 Glen Foster 2001-07-17 15:39:27 UTC
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.

Comment 3 Trond Eivind Glomsrxd 2001-07-17 16:16:47 UTC
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).

Comment 4 Henri Schlereth 2001-07-17 16:48:22 UTC
Flame wars aside (emacs vs. vi) . The mystery question is why did it default to
emacs when
emacs is not installed? It should have picked vi then, shouldnt it? Since this
is a
vanilla 7.1 plus patches where is the default EDITOR set? In the environmental 
variables or in elmrc or $HOME/.elm/elmrc?


Comment 5 Trond Eivind Glomsrxd 2001-07-17 17:42:18 UTC
It will use the EDITOR variable anytime, but the default is only detected during
the configure phase.