From: ······@gmail.com
Subject: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <1189524960.410651.248350@r34g2000hsd.googlegroups.com>
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?

From: Jason  Sidabras
Subject: Re: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <1189526390.291486.149690@d55g2000hsg.googlegroups.com>
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.
From: ······@gmail.com
Subject: Re: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <1189533852.314246.249040@o80g2000hse.googlegroups.com>
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? "
From: Raymond Toy (RT/EUS)
Subject: Re: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <sxd7imwexaa.fsf@rtp.ericsson.se>
>>>>> "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
From: Thomas Bakketun
Subject: Re: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <5koikbF4sui7U1@mid.individual.net>
 ······@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.
From: Chris Russell
Subject: Re: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <1189526773.920318.150120@g4g2000hsf.googlegroups.com>
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
From: Harald Hanche-Olsen
Subject: Re: Setting up SLIME with SBCL or CLISP
Date: 
Message-ID: <pco642hnr26.fsf@shuttle.math.ntnu.no>
+ ······@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