在Debianu下安装:
1. 安装sbcl及文档
sudo apt-get install sbcl*
2. 安装emacs
3. 安装slime
sudo apt-get install slime*
4. 配置slime
;(add-to-list 'load-path "/usr/share/emacs22/site-lisp/slime") (require 'slime) (setq inferior-lisp-program "/usr/bin/sbcl") (slime-setup)
5. 启动slime
M-x slime RET
(slime-repl-clear-output)
`C-<up>, M-x slime-repl-forward-input' `C-<down>, M-x slime-repl-backward-input'
Go to the next/previous history item.
`M-n, M-x slime-repl-next-input' `M-p, M-x slime-repl-previous-input'
Search the next/previous item in the command history using the current input as search pattern. If `M-n'/`M-n' is typed two times in a row, the second invocation uses the same search pattern (even if the current input has changed).
`M-s, M-x slime-repl-next-matching-input' `M-r, M-x slime-repl-previous-matching-input'
Search forward/reverse through command history with regex
`C-c C-n, M-x slime-repl-next-prompt' `C-c C-p, M-x slime-repl-previous-prompt'
Move between the current and previous prompts in the REPL buffer. Pressing RET on a line with old input copies that line to the newest prompt.