Next: vi Up: Editors Previous: TkEmacs

## Emacs

If emacs is specified as the editor by setting the entry Editor in the (Options | General) dialog to ``emacs $xfFileName'', an external emacs is started in a separate window. This external editor is only used in the procedure editing dialogs (Programming | Procedures) and (Programming | Commands), to prevent system overload. The entered code is sent to XF by terminating the editor. If the code is not correct (Tcl syntax), the editor is automatically restarted. If the user cannot find the error, the code should be saved to an external file. Then, the buffer can be cleared, and emacs can be terminated. An empty file is assumed to be correct.