[slime-devel] Setting up swank contrib source paths

Gayane Kazhoyan <[email protected]>
Newsgroups gmane.lisp.slime.devel
Message-ID <CAATOrWnS9poM4t5i7HPyWf_rO+G1hGwmUeBMykbiWJdF002b=w@mail.gmail.com>
Hi,

I was wondering if it is possible to have the Lisp code of Slime contribs
in multiple directories. So, I have the official ones in
/usr/share/common-lisp/source/slime/ and I would like to, e.g. have the
slime-hello-world [1] somewhere else.

I tried to push the path to the asdf:*central-registry* and also setting
*default-pathname-defaults* in .sbclrc and even starting a swank server
with swank-loader::*source-directory* correctly set up, but then the
problem is that the *source-directory* is not a list and the path to the
default contribs gets lost...

So, currently my .sbclrc looks like this:

(require :asdf)
(pushnew #p"/path/to/slime-hello-world/" asdf:*central-registry* :test
#'equal)

And when I M-x slime, swank still can't find the slime-hello-world Lisp
part. Any ideas?

Thanks!
Gaya

[1] https://github.com/slime/slime-hello-world
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.