Pregunta

I am a newbie for emacs and common lisp.

I am now using emacs and slime to learn P.Graham “ANSI Common LISP”. However, when I meet something that I don't konw, I can not easily get some useful info like linux man.

Is there any common lisp docs like linux man?

¿Fue útil?

Solución

Common Lisp HyperSpec describes the ANSI Common Lisp standard, and, as such, is more similar to the POSIX Standard than to Linux man pages.

Since you use Emacs, you can use clhs.el to lookup specific symbols there:

(autoload 'common-lisp-hyperspec "clhs" "Get doc on ANSI CL" t)
(define-key help-map "\C-s" 'common-lisp-hyperspec)

Note: I use C-h C-s to get the symbol documentation in the browser, you can, obviously, choose your own key binding (use C-h C-h to see the system bindings).

If you do more than casual Lisp coding, you would probably benefit from using SLIME: The Superior Lisp Interaction Mode for Emacs instead of the stock facilities.

(If you use VIM, google is your friend).

PS. You should also take a look at the implementation-specific documentation because it documents non-standard features and extensions.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top