[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: edit.m and EDITOR
From: |
Ben Abbott |
Subject: |
Re: edit.m and EDITOR |
Date: |
Tue, 10 Apr 2012 16:38:21 -0400 |
On Apr 10, 2012, at 4:26 PM, Jordi Gutiérrez Hermoso wrote:
> Re this discussion:
>
> http://octave.1599824.n4.nabble.com/edit-error-tp4541388p4545830.html
>
> I am not sure how to fix this. My first attempt is attached, but I
> think this isn't quite right. The problem is that this breaks the
> struct that edit("get") used to return, but I'm not sure this is
> serious. More problematically, it also breaks the string, with the %s
> included, that edit("editor", foo) is supposed to let you set.
>
> The problem I'm trying to solve is that EDITOR and edit shouldn't be
> storing separate variables for the EDITOR command. How do you
> recommend to solve this instead?
>
> Thanks,
> - Jordi G. H.
> <edit.patch>
I'd forgotten about this conflict.
Should we be using preferences instead ?
i.e. addpref, ispref, setpref, getpref, rmpref
Ben
- edit.m and EDITOR, Jordi Gutiérrez Hermoso, 2012/04/10
- Re: edit.m and EDITOR,
Ben Abbott <=
- Re: edit.m and EDITOR, Jordi Gutiérrez Hermoso, 2012/04/10
- Re: edit.m and EDITOR, Michael Goffioul, 2012/04/10
- Re: edit.m and EDITOR, John W. Eaton, 2012/04/10
- Re: edit.m and EDITOR, Mike Miller, 2012/04/11
- Re: edit.m and EDITOR, John W. Eaton, 2012/04/11
- Re: edit.m and EDITOR, Michael Goffioul, 2012/04/11
- Re: edit.m and EDITOR, John W. Eaton, 2012/04/11
- Re: edit.m and EDITOR, Michael Goffioul, 2012/04/11
- Re: edit.m and EDITOR, Ben Abbott, 2012/04/10