|
From: | Gary Nelson |
Subject: | Re: Conversion from Scilab |
Date: | Fri, 14 May 2010 17:13:07 -0700 |
OK, typed help edit and get this (and lots more) ..... `editor' This is the editor to use to modify the functions. By default it uses Octave's `EDITOR' built-in function, which comes from `getenv("EDITOR")' and defaults to `emacs'. Use `%s' In place of the function name. For example, `[EDITOR, " %s"]' Use the editor which Octave uses for `bug_report'. `"xedit %s &"' pop up simple X11 editor in a separate window `"gnudoit -q \"(find-file \\\"%s\\\")\""' Send it to current Emacs; must have `(gnuserv-start)' in `.emacs'. However, when I ask for editor, I get this octave-3.2.3:2> editor error: `editor' undefined near line 2 column 1 octave-3.2.3:2> I downloaded and installed emacs, but have not been able to do anything useful with it and can't yet see how it interacts with octave. I don't have any specific preference for an editor -- just want to get busy doing something useful Thanks Gary On May 14, 2010, at 4:08 PM, Ben Abbott wrote:
Gary Nelson |
[Prev in Thread] | Current Thread | [Next in Thread] |