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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3: slime-mode 8C-c M-pslime-repl-set-packageSet the current package of the repl.3.2.7 Cross-referenceslime’s cross-reference commands are based on the support provided by the <strong>Lisp</strong> system,which varies widely between <strong>Lisp</strong>s. For systems with no builtin xref support slime queriesa portable xref package, which is taken from the CMU AI Repository and bundled withslime.Each command operates on the symbol at point, or prompts if there is none. With aprefix argument they always prompt. You can either enter the key bindings as shown hereor with the control modified on the last key, See Section 3.1.2 [Key bindings], page 4.C-c C-w cC-c C-w rC-c C-w bC-c C-w sC-c C-w mslime-who-callsShow function callers.slime-who-referencesShow references to global variable.slime-who-bindsShow bindings of a global variable.slime-who-setsShow assignments to a global variable.slime-who-macroexpandsShow expansions of a macro.M-x slime-who-specializesShow all known methods specialized on a class.There are also “List callers/callees” commands. These operate by rummaging throughfunction objects on the heap at a low-level to discover the call graph. They are only availablewith some <strong>Lisp</strong> systems, and are most useful as a fallback when precise xref informationis unavailable.C-c 3.2.8 Inspectorslime-list-callersList callers of a function.slime-list-calleesList callees of a function.The slime inspector is an Emacs-based version of the <strong>Lisp</strong> function INSPECT. The inspectedobject is presented in a buffer with one line per slot.C-c Islime-inspectInspect the value of an expression entered in the minibuffer.The commands available in the inspector are:

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

Saved successfully!

Ooh no, something went wrong!