Next: , Previous: , Up: Manipulating the Editor Process   [Contents][Index]


9.9.1 Editor Mode

When Editor mode is on, alternate versions of the Lisp interaction commands are bound in place of the eval server based commands. These commands manipulate the editor process instead of the current eval server. Turning on editor mode in a buffer allows incremental development of code within the running editor.

Command: Editor Mode

This command turns on Editor minor mode in the current buffer. If it is already on, it is turned off. Editor mode may also be turned on using the Mode file option (see page file-options.)

Command: Editor Compile Defun (bound to C-x C-c in Editor mode)
Command: Editor Compile Region
Command: Editor Evaluate Buffer
Command: Editor Evaluate Defun (bound to C-x C-e in Editor mode)]
Command: Editor Evaluate Region
Command: Editor Macroexpand Expression (bound to Editor: C-M)
Command: Editor Re-evaluate Defvar
Command: Editor Describe Function Call (bound to C-M-A in Editor mode)]
Command: Editor Describe Symbol (bound to C-M-S in Editor mode)]

These commands are similar to the standard commands, but modify or examine the Lisp process that Hemlock is running in. Terminal I/O is done on the initial window for the editor’s Lisp process. Output is directed to a pop-up window or the editor’s window instead of to the background buffer.

Command: Editor Compile Buffer File
Command: Editor Compile File
Command: Editor Compile Group

In addition to compiling in the editor process, these commands differ from the eval server versions in that they direct output to the the Compiler Warnings buffer.

Command: Editor Evaluate Expression (bound to M-Escape in Editor mode and C-M-Escape)]

This command prompts for an expression and evaluates it in the editor process. The results of the evaluation are displayed in the echo area.


Next: Eval Mode, Previous: Manipulating the Editor Process, Up: Manipulating the Editor Process   [Contents][Index]