4.7 Using Lisp-specific commands

4.7.5 Finding definitions in source code

If you have a large amount of source code (especially if it is situated in several different files) the following keyboard commands can be useful for taking you to the definition of a function or symbol, or finding the arguments that should be given to a function or symbol.

DescriptionKey
Find arguments of the symbol before the cursor. You are prompted in the echo area to give a symbol name. By default, the symbol at the start of the current form is used. Hit Return if you want to use the default value, otherwise specify a symbol. The arguments of the symbol are shown in the echo area.

Note: Choosing Expression > Arguments performs the same operation.

Esc =
Find arguments of the symbol at head of current form. This is similar to the command above, except that the symbol at the head of the current form is used by default.S-C-a
Find source code definition of the symbol before the cursor. This is especially useful if your source code is distributed across several files. The file containing the definition of your symbol (by default, the symbol before the cursor) is displayed in the editor window, with the cursor at the head of that definition.Esc .
If there is more than one definition of a symbol available, this command finds the file containing it. This command can only be used after using Esc .. Repeated use of Esc , finds all the available definitions of a symbol, prompting you when there are no more.Esc ,

Note: When using Esc . and Esc , you can also specify part of a symbol and complete it using Tab completion.


FreeLisp User's Guide - 5 FEB 1996

Generated with Harlequin WebMaker