[slime-devel] swank-loader compatibility with cl-launch (solved)

Nathan Bird nathan at acceleration.net
Wed Jul 5 21:48:20 UTC 2006


Helmut Eller wrote:
> I don't have asdf in my image and don't load it by default.  SLIME's
> default startup sequence uses swank-loader directly.  And I think few
> (if any) CL implementations ship with asdf properly configured by
> default.  If we make SLIME dependent on asdf, we add another hurdle
> for newbies.
>   
I was afraid this might be the case. As a recent lisp newbie asdf is 
what I found recommended everywhere so this may change. :-)

> Would it be acceptable to patch swank.asd instead? Like so:
>
> --- swank.asd.old	2005-09-01 08:41:32.000000000 +0200
> +++ swank.asd	2006-07-05 19:02:25.000000000 +0200
> @@ -22,3 +22,7 @@
>  (asdf:defsystem :swank
>      :components ((:file "swank-loader")))
>  
> +(defpackage :swank-loader)
> +(defparameter swank-loader::*source-directory* 
> +  (asdf:component-pathname (asdf:find-system :swank)))
> +
>   

That patch handles every problem that I have been testing for just fine 
and doesn't introduce a new dependency to the default slime package: 
awesome!

Nathan



More information about the slime-devel mailing list