[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect |
Date: |
Sat, 16 Nov 2013 17:37:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10 |
URL:
<http://savannah.gnu.org/bugs/?40600>
Summary: edit: changing EDITOR after first call to edit() has
no effect
Project: GNU Octave
Submitted by: carandraug
Submitted on: Sat 16 Nov 2013 17:37:59 GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The function edit() states that EDITOR defaults to the value of Octave's
EDITOR. However, changing its value after calling EDITOR the first time has no
effect.
Example:
octave:1> EDITOR
ans = emacs
octave:2> edit help
octave:3> sh: 1: emacs: not found
octave:3> EDITOR nano
octave:4> edit help
octave:5> sh: 1: emacs: not found
I can imagine that when using the function edit() for the first time,
non-emacs users will be caught by surprise. They would then try to change the
value of EDITOR and caught by surprise.
On a related note, conflicting documentation exists between EDITOR (which
suggests that is only used by edit_history) and edit (which says that uses
EDITOR as default).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40600>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect,
Carnë Draug <=
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Torsten, 2013/11/17
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Mike Miller, 2013/11/17
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Mike Miller, 2013/11/22
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Carnë Draug, 2013/11/23
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Carnë Draug, 2013/11/23
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Mike Miller, 2013/11/23
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Torsten, 2013/11/23
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Carnë Draug, 2013/11/23
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Mike Miller, 2013/11/23
- [Octave-bug-tracker] [bug #40600] edit: changing EDITOR after first call to edit() has no effect, Torsten, 2013/11/23