Bug 49232 - updated elm defaults to emacs as editor previous was vi
Summary: updated elm defaults to emacs as editor previous was vi
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: elm
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Jay Turner
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-17 09:05 UTC by Henri Schlereth
Modified: 2015-01-07 23:48 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-07-17 15:39:32 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.