Next: , Previous: , Up: Introduction   [Contents][Index]


1.13 Recursive Edits

Some sophisticated commands, such as Query Replace, can place you in a recursive edit. A recursive edit is simply a recursive invocation of Hemlock done within a command. A recursive edit is useful because it allows arbitrary editing to be done during the execution of a command without losing any state that the command might have. When the user exits a recursive edit, the command that entered it proceeds as though nothing happened. Hemlock notes recursive edits in the Echo Area modeline, or status line. A counter reflects the number of pending recursive edits.

Command: Exit Recursive Edit (bound to C-M-z)

This command exits the current recursive edit, returning nil. If invoked when not in a recursive edit, then this signals an user error.

Command: Abort Recursive Edit (bound to C-])

This command causes the command which invoked the recursive edit to get an error. If not in a recursive edit, this signals an user error.


Next: User Errors, Previous: Helpful Information, Up: Introduction   [Contents][Index]