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

本秂侑毒 提交于 2019-12-04 22:55:29

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/18007730/is-there-any-common-lisp-docs-like-linux-man

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!