Is there any common lisp docs like linux man? [closed]
Asked Answered
P

1

6

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?

Pius answered 2/8, 2013 at 2:22 Comment(1)
Possible duplicate of Man or javadoc-style documentation for common lispThissa
T
9

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.

Thissa answered 2/8, 2013 at 2:43 Comment(2)
For Common Lisp HyperSpec and clhs.el, they really works. Thanks.Pius
CLTL2 is often more helpful than the HyperSpec. It provides guidance and gives the rationale behind each part of the language. cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/…Maneater

© 2022 - 2024 — McMap. All rights reserved.