So, I'm running in XUbuntu (Debian flavor) and installed emacs and
slime with through the package manager. I'm trying to get slime to
run in SBCL or CLISP as opposed to CMUCL and edited my .emacs file as
such:
(setq interior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/usr/share/emacs21/site-lisp/slime")
(require 'slime)
(slime-setup)
but when slime loads (via M-x slime) It comes up running CMUCL
still... emacs doesn't complain about any errors in my ~/.emacs file
but I'm also not sure if its even reading it. Am I doing something
horribly wrong.
Also when running a ridiculously long loop in slime CMUCL, such as
(dotimes (i 99999)
(print i))
It'll stop and display commencing GC with 13.7MB in use. It just
hangs there and NEVER comes out. Is this an issue with slime, cmucl,
or lisp in general?
On Sep 11, 10:36 am, ······@gmail.com wrote:
> So, I'm running in XUbuntu (Debian flavor) and installed emacs and
> slime with through the package manager. I'm trying to get slime to
> run in SBCL or CLISP as opposed to CMUCL and edited my .emacs file as
> such:
> (setq interior-lisp-program "/usr/bin/sbcl")
> (add-to-list 'load-path "/usr/share/emacs21/site-lisp/slime")
> (require 'slime)
> (slime-setup)
>
> but when slime loads (via M-x slime) It comes up running CMUCL
> still... emacs doesn't complain about any errors in my ~/.emacs file
> but I'm also not sure if its even reading it. Am I doing something
> horribly wrong.
>
> Also when running a ridiculously long loop in slime CMUCL, such as
> (dotimes (i 99999)
> (print i))
>
> It'll stop and display commencing GC with 13.7MB in use. It just
> hangs there and NEVER comes out. Is this an issue with slime, cmucl,
> or lisp in general?
I can't log into my system right now, but if I remember correctly I
used ~/.emacsrc as my init file.
Thank you - it was that dumb typo. And emacs does use the .emacs
file.
Does anyone know anything about the Garbage Collection hang?
"commencing GC with 13.7MB in use. It just
hangs there and NEVER comes out. Is this an issue with slime, cmucl,
or lisp in general? "
>>>>> "jrwats" == jrwats <······@gmail.com> writes:
jrwats> Thank you - it was that dumb typo. And emacs does use the .emacs
jrwats> file.
jrwats> Does anyone know anything about the Garbage Collection hang?
jrwats> "commencing GC with 13.7MB in use. It just
jrwats> hangs there and NEVER comes out. Is this an issue with slime, cmucl,
jrwats> or lisp in general? "
I don't see this with cmucl, slime, and xemacs. I see a bunch of
numbers being printed, and I also see GC done once in a while (in a
typeout frame).
Is Lisp still running? Is emacs/xemacs busy handling the output?
BTW, this is on a fairly old version of slime. I need to update.
Ray
······@gmail.com wrote:
> Does anyone know anything about the Garbage Collection hang?
>
> "commencing GC with 13.7MB in use. It just
> hangs there and NEVER comes out. Is this an issue with slime, cmucl,
> or lisp in general? "
It's a bug in SLIME when using CMUCL. Looks like it has been fixed in later
versions of SLIME (I can't reproduce it in 2007-02-26). Anyway, you can
simpy turn off those messages (and avoid the bug) by putting this line in
your .cmucl-init.lisp:
(setf *gc-verbose* nil)
Also, please note that the SLIME installed from a Debian package is likely
to be quite old. You should consider installing from CVS instead.
On 11 Sep, 16:36, ······@gmail.com wrote:
> So, I'm running in XUbuntu (Debian flavor) and installed emacs and
> slime with through the package manager. I'm trying to get slime to
> run in SBCL or CLISP as opposed to CMUCL and edited my .emacs file as
> such:
> (setq interior-lisp-program "/usr/bin/sbcl")
Try (setq inferior-lisp-program .... )instead
+ ······@gmail.com:
> (setq interior-lisp-program "/usr/bin/sbcl")
That should be inferior-lisp-program ...
> but when slime loads (via M-x slime) It comes up running CMUCL
> still...
You can also use C-u M-x slime to run a non-default lisp underneath.
> emacs doesn't complain about any errors in my ~/.emacs file
Assigning a value to the wrong variable is not an error.
> but I'm also not sure if its even reading it.
It probably is. If you're in doubt, put these lines at the end:
(message "Finished loading .emacs")
(sit-for 5)
It should display the indicated message for five seconds.
--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell