[slime-devel] Re: swank loading broken?

Helmut Eller heller at common-lisp.net
Tue Feb 19 21:48:06 UTC 2008


* Ralf Mattes [2008-02-19 17:53+0100] writes:

[...]
> ralf at mhflaptop01:/tmp$ cd slime
> ralf at mhflaptop01:/tmp/slime$ rlwrap sbcl --noinform --no-userinit  
> * (load "swank-loader.lisp")
> STYLE-WARNING: redefining LISP-VERSION-STRING in DEFUN
> STYLE-WARNING: redefining FILE-NEWER-P in DEFUN
> STYLE-WARNING: redefining SLIME-VERSION-STRING in DEFUN
> STYLE-WARNING: redefining BINARY-PATHNAME in DEFUN
> STYLE-WARNING: redefining HANDLE-LOADTIME-ERROR in DEFUN
> STYLE-WARNING: redefining LOAD-USER-INIT-FILE in DEFUN
> STYLE-WARNING: redefining LOAD-SITE-INIT-FILE in DEFUN
> STYLE-WARNING: redefining APPEND-DIR in DEFUN
> STYLE-WARNING: redefining LOAD-SWANK in DEFUN

It looks like swank-loader is already present in your lisp-image.

> T
> * (swank-loader:init)

The latest version of swank-loader:init doesn't reload swank if the
package already exists.  You can call it with 
  
  (swank-loader:init :reload t) 

to override that.  slime.el invokes swank-loader:init without
arguments.

To solve your problem you could create a core with a new version of
swank which has the swank:setup function, or customize
slime-lisp-implementations so that swank-loader:init gets called
differently.

Helmut.




More information about the slime-devel mailing list