quicklisp :quicklisp官網 http://www.quicklisp.org/beta/ 有教學,不多說:
slime:下載最新slimehttp://common-lisp.net/project/slime/#downloading
.emacs設定
(set-language-environment "utf-8")
(setq inferior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/usr/share/emacs/24.2/slime-2013-04-05/")
(require 'slime)
(slime-setup)
(setq slime-net-coding-system 'utf-8-unix)
(slime-setup '(slime-fancy))
(defun lisp-indent-or-complete (&optional arg)
(interactive "p")
(if (or (looking-back "^\\s-*") (bolp))
(call-interactively 'lisp-indent-line)
(call-interactively 'slime-indent-and-complete-symbol)))
(eval-after-load "lisp-mode"
'(progn
(define-key lisp-mode-map (kbd "TAB") 'lisp-indent-or-complete)))
沒有留言:
張貼留言