How to search for CL function definitions inside emacs

Is there a way to see the arguments for the generic lisp function and its documentation from emacs? Or also see a list of all available features?

+4
source share
4 answers

SLIME automatically loads eldoc-mode- this is the mode that displays the function arguments in the minibuffer. If you mean clthe Emacs Lisp library, you can download it using M-x eldoc-mode.

Another useful SLIME function is this C-c C-d C-d- a new buffer with documentation about the function.

This is also very useful:

  • C-c C-w C-a slime-who-specializes
  • C-c C-w C-b slime-who-binds
  • C-c C-w C-c slime-who-calls
  • C-c C-w RET slime-who-macroexpands
  • C-c C-w C-r slime-who-references
  • C-c C-w C-s slime-who-sets
  • C-c C-w C-w slime-calls-who
  • C-c C-w a slime-who-specializes
  • C-c C-w b slime-who-binds
  • C-c C-w c slime-who-calls
  • C-c C-w m slime-who-macroexpands
  • C-c C-w r slime-who-references
  • C-c C-w s slime-who-sets
  • C-c C-w w slime-calls-who

It should be clear what they do with their names.

, auto-complete SLIME, (, ), , Visual Studio Eclipse. , ac-slime ELPA.

+7

documentation. ( list.)

(documentation 'list 'function)
"Returns constructs and returns a list of its arguments."

, arglist. (apropos 'arglist). , arglist.

, CMUCL (swank-backend::arglist 'list), CLISP (arglist 'list) ..

N.B. SLIME, .

+1

. GNU Emacs Common Lisp Emulation GNU Emacs - CL (dir -level) Info. . , Emacs, Common Lisp.

Lisp .

0

- http://cl-cookbook.sourceforge.net/emacs-ide.html

Q2. HyperSpec Emacs

Q2 HyperSpec, Emacs, ? HyperSpec Emacs?

A2 Emacs W3 ( W3M, ), HTML- Emacs. , W3 HyperSpec, , , HyperSpec Shift-F1:

(global-set-key [(shift f1)]
    '(lambda ()
       (interactive)
       (let ((browse-url-browser-function 
                        'browse-url-w3)
               (common-lisp-hyperspec-root            
                        "file://c:/home/docs/Hyperspec/")
                           (common-lisp-hyperspec-symbol-table 
                         (concat common-lisp-hyperspec-root 
                                     "Data/Map_Sym.txt"))
                (hyperspec-prog 
                         "c:/home/site/ilisp/extra/hyperspec"))
         (load-library hyperspec-prog)
         (common-lisp-hyperspec 
                    (thing-at-point 'symbol)))))

, "let" -url-browser-W3 W3 HyperSpec. ( W3 - ) ( , ).

0

All Articles