[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: |
Sun, 24 Nov 2013 00:42:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10 |
Follow-up Comment #11, bug #40600 (project octave):
There's nothing special about this patch (see attached). It simply removes the
editor option from edit, and makes it always check the value of EDITOR. I do
not deprecate the option because EDITOR doesn not allow for some much
flexibility.
However, this means that we can't have "fancy" things as editor such as
"gnudoit -q \"(find-file \\\"%s\\\")\"". If you think this a useful thing, an
alternative option (I'm inclined to this), would be to have EDITOR check if
the new string has a %s. If it does, does nothing to it. Otherwise, it's
EDITOR that appends %s to it.
(file #29694)
_______________________________________________________
Additional Item Attachment:
File name: edit.patch Size:4 KB
_______________________________________________________
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, (continued)
- [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
- [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, Mike Miller, 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, Carnë Draug, 2013/11/23