Set editor -E<cmd>
A -E<cmd> option can be used to change the editor
string to the specified <cmd> while the interpreter
is running. The editor string is usually initialized
from the environment
when the interpreter starts running.
Any occurrences of %d and %s in
the editor option are replaced by the start line
number and the name of the file to be edited, respectively, when the
editor is invoked. If specified, the line number parameter is used
to let the interpreter start the editor at the line where an error was
detected, or, in the case of the :find command,
where a specified variable was defined.
Other editors can be selected.
For example, you can use the following value to
configure Hugs to use emacs:
-E"emacs +%d %s"
More commonly, emacsclient or gnuclient is used to avoid
starting a new emacs with every edit.
On PCs, you can use -Eedit for the standard DOS editor,
or -Enotepad for the Windows notepad editor.
However, neither edit or notepad allow you
to specify a start line number, so you may prefer to install
a different editor.