my .emacs that works fine on NetBSD: (add-to-list 'load-path "/usr/local/slime") (require 'slime) (add-hook 'lisp-mode-hook (lambda () (slime-mode t))) (add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t))) (setq inferior-lisp-program "/usr/pkg/bin/sbcl") (slime-setup)
On 2/24/07, Ian Larsen drblast@gmail.com wrote:
I'm having trouble getting slime working properly under FreeBSD 6.1 and emacs.
Using either clisp or sbcl, slime compiles and loads properly, I get a slime repl which works fine.
Lisp files load in slime mode, as expected, but evaluation seems to take place in elisp, instead of the loaded clisp or sbcl environment. For example, evaluating global-font-lock-mode with C-x C-e returns t. In the slime repl buffer, the same results in an undefined symbol, as expected.
Is there something I'm missing that would connect the lisp program buffer to the correct Lisp?
The following is from my .emacs file:
(add-to-list 'load-path "~/slime/slime") (setq inferior-lisp-program "/usr/local/bin/sbcl") (require 'slime) (slime-setup)
Thanks, Ian _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel