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
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
Patrick,
Thank you for the suggestion. I tried putting in the changes to my .emacs, and it's still not working -- same problem as before.
If anyone has any other ideas, I'd appreciate it. And thanks for slime, it's wonderful on the Windows machine where I have it working. :-)
-Ian
On 2/24/07, Patrick X dabittweiler@gmail.com wrote:
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
--
knot in cables caused data stream to become twisted and kinked. http://groups.google.com/group/lispstl http://www.cwelug.org/ Patrick Pippen _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
Try replacing the ~ with the absolute file path ?!
On 25 Feb 2007, at 04:22, Ian Larsen wrote:
Patrick,
Thank you for the suggestion. I tried putting in the changes to my .emacs, and it's still not working -- same problem as before.
If anyone has any other ideas, I'd appreciate it. And thanks for slime, it's wonderful on the Windows machine where I have it working. :-)
-Ian
On 2/24/07, Patrick X dabittweiler@gmail.com wrote:
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
--
knot in cables caused data stream to become twisted and kinked. http://groups.google.com/group/lispstl http://www.cwelug.org/ Patrick Pippen _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
Ian Larsen wrote:
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.
What does
M-x describe-key <enter> C-x C-e
say in a .lisp buffer?
Cheers,
-- Nikodemus
Nikodemus,
I had been loading viper mode before loading slime in my .emacs file, switching the order fixed my problem.
Thank you so much for your help.
-Ian
On 2/25/07, Nikodemus Siivola nikodemus@random-state.net wrote:
Ian Larsen wrote:
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.
What does
M-x describe-key <enter> C-x C-e
say in a .lisp buffer?
Cheers,
-- Nikodemus
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel