[slime-devel] [patch] Make it possible to keep FASL files in source directory

Helmut Eller heller at common-lisp.net
Thu Jan 19 22:51:12 UTC 2006


* Nathan Bird [2006-01-19 00:23+0100] writes:

> Can we please make swank continue to be fully loaded by default? Maybe make
> several ASD files, one similar to the current swank.asd that just makes
> swank-loader available, and another that also loads a file that does
> (swank-loader:load-swank) ?  

I reverted that change and swank-loader now loads the rest as before.

> Any thoughts?

We wanted some way to customize the fasl directory, so I had separated
the loading of the loader and the loading of the rest.  The drawback
of that approach was that swank-loader:load-swank had to be called
explicitly to pass in the customized parameters and that's
inconvenient for those who don't need the customization (i.e. most
people).  So, I reverted that part.

The new way to customize the fasl directory is to set the variable
swank-loader:*fasl-directory* before loading swank-loader.  The
drawback of this variant is that the swank-loader package must exist
(or must be created) before the variable can be set.  I think this is
the better tradeoff because most users don't need the customization
and only the others have to pay the price for more flexibility.

Helmut.



More information about the slime-devel mailing list