10.07.2015 Views

SLIME User Manual - Common Lisp.net

SLIME User Manual - Common Lisp.net

SLIME User Manual - Common Lisp.net

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: slime-mode 6M-, slime-pop-find-definition-stack Go back from a definition found with M-.. This gives multi-level backtracking when M-. has been used several times.3.2.3 <strong>Lisp</strong> EvaluationThese commands each evaluate a <strong>Lisp</strong> expression in a different way. By default they showtheir results in a message, but a prefix argument causes the results to be printed in therepl instead.C-M-xC-c C-eC-c C-pC-c C-rC-c :slime-eval-defunEvaluate top-level form.slime-eval-last-expressionEvaluate the expression before point.slime-pprint-eval-last-expressionEvaluate the expression before point and pretty-print the result.slime-eval-regionEvaluate the region.slime-interactive-evalEvaluate an expression read from the minibuffer.M-x slime-scratchCreate a ‘*slime-scratch*’ buffer. In this buffer you can enter <strong>Lisp</strong> expressionsand evaluate them with C-j, like in Emacs’s ‘*scratch*’ buffer.3.2.4 Documentationslime’s online documentation commands follow the example of Emacs <strong>Lisp</strong>. The commandsall share the common prefix C-c C-d and allow the final key to be modified or unmodified(See Section 3.1.2 [Key bindings], page 4.)C-c C-d dC-c C-d aC-c C-d zC-c C-d pslime-describe-symbolDescribe the symbol at point.slime-aproposApropos search. Search <strong>Lisp</strong> symbol names for a substring match and presenttheir documentation strings. By default the external symbols of all packagesare searched. With a prefix argument you can choose a specific package andwhether to include unexported symbols.slime-apropos-allLike slime-apropos but also includes internal symbols by default.slime-apropos-packageShow apropos results of all symbols in a package. This command is for browsinga package at a high-level. With package-name completion it also serves as arudimentary Smalltalk-ish image-browser.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!