[slime-devel] asdf-less swank-loader documentation vs practice

Hello, While using CVS HEAD ECL and CVS HEAD Slime, I can using ASDF load the swank server on the ECL side and connect using emacs and slime to that instance, disconnect, reconnect, and everything works fine. However, the documentation at: http://common-lisp.net/project/slime/doc/html/Setting-up-the-lisp-image.html... suggests that simply loading swank-loader.lisp should also work. Loading the file works fine, but swank:create-server is then an undefined function. Also, the swank package itself doesn't seem to exist then. Thanks, -- Matt

Matthew Mondor <mm_lists@pulsar-zone.net> writes:
Hello,
While using CVS HEAD ECL and CVS HEAD Slime, I can using ASDF load the swank server on the ECL side and connect using emacs and slime to that instance, disconnect, reconnect, and everything works fine.
However, the documentation at: http://common-lisp.net/project/slime/doc/html/Setting-up-the-lisp-image.html... suggests that simply loading swank-loader.lisp should also work. Loading the file works fine, but swank:create-server is then an undefined function. Also, the swank package itself doesn't seem to exist then.
Thanks,
Look at start-swank.lisp how it's supposed to be done. -T.

On Sat, 17 Apr 2010 04:15:38 -0400 Matthew Mondor <mm_lists@pulsar-zone.net> wrote: There seemed to be a problem with the headers of the reply I received so to preserve the thread-view I'll reply to my own post:
Look at start-swank.lisp how it's supposed to be done.
So indeed the following indeed works fine:
(load "swank-loader") (swank-loader:init :delete nil :reload nil :load-contribs nil) (swank:create-server :dont-close t)
Thank you very much, -- Matt
participants (2)
-
Matthew Mondor
-
Tobias C. Rittweiler