All Manuals > LispWorks IDE User Guide > 22 The Listener

NextPrevUpTopContentsIndex

22.10 Execute mode

The Listener is actually a special type of editor window, which is run in a mode known as execute mode . This means that, as well as the normal keyboard commands available to the editor, a number of additional commands are available which are especially useful when working interactively.

22.10.1 History commands

These commands are useful in the common situation where you need to repeat a previously entered command, or enter a variant of it.

History First

Editor Command

Emacs Key Sequence: Ctrl+C <

Replaces the current command by the first command.

History Kill Current

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+K

Kills the current command when in a listener.

History Last

Editor Command

Emacs Key Sequence: Ctrl+C >

Replaces the current command by the last command.

History Next

Editor Command

Emacs Key Sequence: Meta+N or Ctrl+C Ctrl+N

Displays the next event on the history list. That is, it replaces the current command by the next one. This is not available if you are at the end of the history list. In KDE/Gnome editor emulation, this History Next command is bound to Ctrl+Down.

History Previous

Editor Command

Emacs Key Sequence: Meta+P or Ctrl+C Ctrl+P

Displays the previous event on the history list: that is, it replaces the current command by the previous one. In KDE/Gnome editor emulation, this History Previous command is bound to Ctrl+Up.

History Search

Editor Command

Emacs Key Sequence: Meta+R or Ctrl+C Ctrl+R

Searches for a previous command containing a given string, which it prompts for, and replaces the current command with it.

History Search From Input

Editor Command

Emacs Key Sequence: None

Searches the history list using current input. That is, it searches for a previous command containing the string entered so far, and replaces the current command with it.

Repeated uses step back to previous matches.

History Select

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+F

Presents a list of items in the command history, and replaces the current command with the selection.

History Yank

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+Y

Inserts the previous command into the current one, when in a listener.

22.10.2 Debugger commands

These commands are useful when in the debugger in the Listener:

Debugger Backtrace

Editor Command

Emacs Key Sequence: Meta+Shift+B

Gets a backtrace when in the debugger.

Debugger Abort

Editor Command

Emacs Key Sequence: Meta+Shift+A

Aborts in the debugger.

Debugger Continue

Editor Command

Emacs Key Sequence: Meta+Shift+C

Continues in the debugger.

Debugger Previous

Editor Command

Emacs Key Sequence: Meta+Shift+P

Displays the previous frame in the debugger.

Debugger Next

Editor Command

Emacs Key Sequence: Meta+Shift+N

Displays the next frame in the debugger.

Debugger Edit

Editor Command

Emacs Key Sequence: Meta+Shift+E

Edits the current frame in the debugger.

Debugger Print

Editor Command

Emacs Key Sequence: Meta+Shift+V

Prints the variables of the current frame in the debugger.

22.10.3 Miscellaneous Listener commands

Here are more commands, with their Execute mode key bindings, which are useful in the Listener

Inspect Star

Editor Command

Emacs Key Sequence: Ctrl+C Ctrl+I

Inspects the current value (that is, the value of the Common Lisp variable *).

Inspect Variable

Editor Command

Emacs Key Sequence: None

Inspects the value of an editor variable, which is prompted for.

Throw To Top Level

Editor Command

Emacs Key Sequence: Meta+K

Abandons the current input.

For more details about other keyboard commands available in the editor, see The Editor, and the LispWorks Editor User Guide .


LispWorks IDE User Guide (Unix version) - 12 Feb 2015

NextPrevUpTopContentsIndex