Ok, nevermind, in the current implementation it seems that asdf is not used for loading swank contribs at all and *default-pathname-defaults* is also ignored in favor of the swank-loader::*source-directory*.
So, I guess, what I want is currently impossible, I'll just have to try to keep my CL contribs in the same directory.

Cheers,
Gaya



On Mon, Apr 28, 2014 at 12:43 PM, Gayane Kazhoyan <gayanek@gmail.com> wrote:
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