This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Slime Not Working in EMACS

6 posts · 8094 views

Hey all, I would appreciate some help sorting this out. SLIME does not work in EMACS, and here is the output:
http://pastebin.com/fcefb49d

Just to give you a little bit of context, this is on a shell account given to me by a friend. Emacs and several dialects of LISP are already installed, but SLIME is not. I got the latest version of slime from CVS and it is in my home directory. My .emacs file looks like this:
(setq inferior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/home/tss/slime")
(require 'slime)
(slime-setup)
Version information:
GNU Emacs 21.4.1
SBCL 0.8.16
GNU CLISP 2.33.2 (2004-06-02) (built 3318123717) (memory 3398465807)
SLIME: Latest from CVS

Re: Slime Not Working in EMACS

That's an ancient version of SBCL. Perhaps SLIME has moved on and is no longer compatible with something that old?
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

Re: Slime Not Working in EMACS

findinglisp wrote:That's an ancient version of SBCL. Perhaps SLIME has moved on and is no longer compatible with something that old?
I thought about that, but then I switched to clisp (which, while it's old, is supported according to the website) and still had the problem.

Re: Slime Not Working in EMACS

This looks suspicious:
compilation aborted because of fatal error:
  READ failure in COMPILE-FILE:
    READER-ERROR at 19070 (line 515, column 70) on #<FILE-STREAM for "file \"/home/tss/slime/swank-sbcl.lisp\"" {9B\
56A49}>:
Symbol "FIND-DEFINITION-SOURCES-BY-NAME" not found in the SB-INTROSPECT package.
Is slime correctly checked out? Maybe it's corrupt or incomplete?

What does slime/swank-sbcl.lisp look like around line 515?

Re: Slime Not Working in EMACS

Wodin wrote:This looks suspicious:
compilation aborted because of fatal error:
  READ failure in COMPILE-FILE:
    READER-ERROR at 19070 (line 515, column 70) on #<FILE-STREAM for "file \"/home/tss/slime/swank-sbcl.lisp\"" {9B\
56A49}>:
Symbol "FIND-DEFINITION-SOURCES-BY-NAME" not found in the SB-INTROSPECT package.
Is slime correctly checked out? Maybe it's corrupt or incomplete?

What does slime/swank-sbcl.lisp look like around line 515?
I tried deleting the slime directory and checking it out again, but I got the same result.
(defimplementation find-definitions (name)
  (loop for type in *definition-types* by #'cddr
          for locations = (sb-introspect:find-definition-sources-by-name   <--- Line 15
                         name type)
        append (loop for source-location in locations collect
                     (make-source-location-specification type name
                                                         source-location))))
Do you think there would be a way to get an earlier version of SLIME to see if that would work?

Re: Slime Not Working in EMACS

Tim wrote:I tried deleting the slime directory and checking it out again, but I got the same result.
Oh well, then I don't know what the problem is.
Do you think there would be a way to get an earlier version of SLIME to see if that would work?
Yes, in the directory that you checked out slime to, do something like this:
$ cvs up -PAd -D "2007/01/01 12:34:56"

or

$ cvs up -PAd -D "2 months ago"