[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: edit.m: simplify default editor when not set
From: |
Mike Miller |
Subject: |
Re: edit.m: simplify default editor when not set |
Date: |
Sun, 22 Apr 2012 19:11:59 -0400 |
On Sun, Apr 22, 2012 at 6:54 PM, Mike Miller <address@hidden> wrote:
> I think the attached patch addresses the problems discussed in [1] and
> [2], following the solution proposed by Michael in the latter thread.
> Namely, the default editor for editing files is the same as EDITOR(),
> even if the user changes it with EDITOR(...). If the user sets the
> editor with the edit command (edit editor "..."), then that preference
> overrides EDITOR() from then on. Let me know if you think this will
> help.
>
> [1] http://octave.1599824.n4.nabble.com/edit-error-td4541388.html
> [2] http://octave.1599824.n4.nabble.com/edit-m-and-EDITOR-td4546850.html
I forgot to mention I worked this patch on top of another I sent today
for the edit function, I can rebase if the group likes one but not the
other, just let me know.
--
mike