Thanks! It worked.
soichi
2011/10/29 Nikodemus Siivola nikodemus@random-state.net
On 6 October 2011 12:08, ishi soichi soichi777@gmail.com wrote:
The installation of sbcl is fine. I can launch sbcl in terminal.
But when launching slime in Emacs, it give an error Searching for program: no such file or directory, sbcl Can anyone tell my what's wrong with my setting? in .emacs file, I have written the following. ;;------------- (setq inferior-lisp-program "/usr/local/bin/sbcl --noinform") (setq slime-lisp-implementations '((sbcl ("sbcl") :coding-system utf-8-unix) (cmucl ("cmucl") :coding-system iso-latin-1-unix)))
I'm guessing that either /usr/local/bin isn't in the PATH when Emacs is looking for sbcl.
Put (sbcl ("/usr/local/bin/sbcl") :coding-system utf-8-unix) there instead: inferior-lisp-program is not used when slime-lisp-implementations is provided.
(add-to-list 'load-path "~/.emacs.d/slime")
...unless this of course has something that overrides the stuff above.
(slime-setup)
I think you'll probably want (slime-setup '(slime-fancy)) here.
Cheers,
-- Nikodemus