我已经使用上述组合在Windows 7.0上使用了几个月。不幸的是,一位同事建议我将slime-helper.el安装到emacs中,结果是:Emacs Slime不再识别QL。
我正在使用Windows的SBCL 1.2.11,并且从命令行中,这个sbcl知道ql的安装情况。 这是我的.sbclrc文件
;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames
"Documents/LISP/.asdf-install-dir/systems/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
I then typed
(ql:quickload "quicklisp-slime-helper")
它编译了很多。最后它说:
要使用,请将以下内容添加到您的~/.emacs文件中:
(load (expand-file-name "~/Documents/LISP/.asdf-install-dir/systems/slime-helper.el"))
;; Replace "sbcl" with the path to your implementation
(setq inferior-lisp-program "sbcl")
现在这是我.emacs文件中相应的部分。
(load "c:/Users/xyz/Documents/LISP/.asdf-install-dir/systems/slime-helper.el")
(setq inferior-lisp-program "c:\\Progra~1\\Steelb~1\\12BDCB~1.11\\sbcl.exe")
我启动了emacs,它正常地启动了。
M-x slime
仍然良好:
; SLIME 2015-06-01
CL-USER>
但是,接下来:
(ql:quickload :my-project)
返回
Package QL does not exist.
但最糟糕的是,如果我从.emacs文件中删除slime-helper,它会再次识别quicklisp包,但每次调用ql时都会锁定emacs。我可以等待几分钟而没有任何响应。
感谢任何帮助。