[slime-devel] Re: swank loading broken?

Ralf Mattes rm at mh-freiburg.de
Tue Feb 19 18:01:14 UTC 2008


On Tue, 19 Feb 2008 17:53:55 +0000, Ralf Mattes wrote:

> On Tue, 19 Feb 2008 10:51:53 -0500, Mark Harig wrote:
> 
>> If there is no synchronization problem between your files and the CVS 
>> repository,
>> then it may be helpful for you to provide the Emacs-lisp code that you 
>> use to
>> setup and start SLIME.
> 
> 
> As an addendum: my current deviations in the REPL all do:
> 
>  (load "swank-loader.lisp")
>  (swank-loader:init)
>  (swank:start-server  "/tmp/slime.foobar" :coding-system "utf-8-unix")
>  
> I'm trying to mimic what my slime startup does:
> 
>  (progn (load "/LISP/slime/swank-loader.lisp" :verbose t) 
>         (funcall
>            (read-from-string "swank-loader:init")) 
>         (funcall
>            (read-from-string "swank:start-server") "/tmp/slime.7449"
>            :coding-system "utf-8-unix"))
> 
> (My indentation). Hmm, iff I change my REPL pattern to:
> 
> 
>  (load "swank-loader.lisp")
>  (swank-loader:init) 
>  (swank-loader:load-swank) ; <======
>  (swank:start-server  "/tmp/slime.foobar" :coding-system "utf-8-unix")
>  
> 
> Everything works fine ....

CVS annotate of the relevant slime.el code:

1.662        (heller   16-Oct-06):     (format "%S\n\n"
1.662        (heller   16-Oct-06):             `(progn
1.748        (mbaringe 17-Jan-07):                (load ,(expand-file-name loader) :verbose t)
1.905        (heller   16-Feb-08):                (funcall (read-from-string "swank-loader:init"))
1.662        (heller   16-Oct-06):                (funcall (read-from-string "swank:start-server")
1.662        (heller   16-Oct-06):                         ,port-filename
1.689        (heller   19-Nov-06):                         :coding-system ,encoding)))))
1.59         (lgorrie  25-Oct-03): 


(swank-loader:load-swank) clearly missing. Or it should be called from
swank-loader:init, or whatever the startup method d'jour is ...


 Cheers, RalfD



>  Cheers, RalfD




More information about the slime-devel mailing list