All Manuals > LispWorks Editor User Guide > 4 Editing Lisp Programs > 4.3 Functions and definitions

NextPrevUpTopContentsIndex

4.3.1 Movement, marking and specifying indentation

Beginning of Defun

Editor Command

Argument: None
Key sequence: Alt+Ctrl+A

Moves the current point to the beginning of the current top-level form. A positive prefix argument p causes the point to be moved to the beginning of the form p forms back in the buffer.

End of Defun

Editor Command

Argument: None
Key sequence: Alt+Ctrl+E

Moves the current point to the end of the current top-level form. A positive prefix argument p causes the point to be moved to the end of the form p forms forward in the buffer.

Mark Defun

Editor Command

Argument: None
Key sequence: Alt+Ctrl+H

Puts the mark at the end of the current top-level form and the current point at the beginning of the form. The definition thereby becomes the current region. If the current point is initially located between two top-level forms, then the mark and current point are placed around the previous top-level form.

Defindent

Editor Command

Argument: no-of-args
Key sequence: None

Defines the number of arguments of the operator to be specially indented if they fall on a new line. The indent is defined for the operator name, for example defun .

Defindent affects the special argument indentation for all forms with that operator which you subsequently indent.


LispWorks Editor User Guide (Windows version) - 3 May 2011

NextPrevUpTopContentsIndex