A number of other Lisp-specific facilities are available using the menus in the Editor.
If the current buffer is associated with a file that is part of a system as defined by
defsystem
, choose
File > Browse Parent System
to browse the system it is part of in the System Browser. See The System Browser for more information about this tool.
Choose Works > Definitions > Undefine... to remove the current definitions from your Lisp image. Similarly, choose Works > Buffers > Undefine... to remove the definitions in the current buffer or selected buffers. By selecting items in the buffers view, or the various definitions views, you can control over the definitions which can be removed with one command. Both of these commands prompt you for confirmation with a second chance to modify the list of definitions to remove.
Choose Works > Definitions > Generic Function to describe the current definition in a Generic Function Browser. See The Generic Function Browser for more details.
Standard action commands can be found on the Works > Expression menu, allowing you to perform a number of operations on the current expression. See Performing operations on selected objects for full details.
Choose
Works > Expression > Arguments
to print the lambda list of the current expression in the echo area, if it is a function, generic function or method. This is the same as using the Emacs key command
Alt+=
, except that the current expression is automatically used.
Choose Works > Expression > Value to display the value of the current expression in the echo area.
Choose
Works > Expression > Macroexpand
or click
in the toolbar to macroexpand the current form. The macroexpansion is printed in the
Output
tab, in the same way that compilation output is shown. Note how an
in-package
form containing the current package is printed with the macroexpansion, meaning that you can preform a further macroexpansion. Press
Space
when the cursor is at the end of the output window to return to the Text tab.
Choose Works > Expression > Walk to recursively macroexpand the current form.
LispWorks IDE User Guide (Windows version) - 25 Nov 2011