[slime-devel] .swank.lisp

Gayane Kazhoyan <[email protected]>
Newsgroups gmane.lisp.slime.devel
Message-ID <CAATOrW=ZHdC35wYtOdy9CpsZVBYGiOdO9=s1AFqKSoxO3hpC9Q@mail.gmail.com>
Hey,

I wanted to pass some s-exps to my Lisp implementation on slime startup and
figured out that putting some code into .swank.lisp works. So, in my case
it was telling the SBCL compiler where it's sources are:

(sb-ext:set-sbcl-source-location "~/workspace/lisp/sbcl/")

It looks to me that this solution is quite hacky: writing implementation
specific code in the general swank setup file. Does anyone know when and
from whom this file is actually being called? Couldn't find anything in the
slime / swank sources.
And the other question is: Is there actually a better way to do this? Maybe
adding a hook on slime-load-hook and executing stuff with slime-rex or
something like that...

Thanks.
Gaya
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.