[slime-devel] (swank:set-default-directory) not working with CLISP

Teemu Likonen tlikonen at iki.fi
Tue Mar 2 20:49:44 UTC 2010


* 2010-03-02 23:31 (+0300), Stas Boukarev wrote:

> On Tue, Mar 2, 2010 at 8:43 PM, Teemu Likonen <tlikonen at iki.fi> wrote:
>> It seems that ,cd command from the REPL, which I think runs
>> (swank:set-default-directory), does not work correctly with CLISP.

> That's not a slime issue. Clisp doesn't change cwd when
> *default-pathname-defaults* is set:
>
> (progn (setf *default-pathname-defaults* #"/")
>        (list (cd (user-homedir-pathname)) (cd))) => #"/"

OK, thanks, and sorry for blaming the wrong guy. What do you suggest as
a work-around? Well, I could use (EXT:CD) or perhaps always reset
*default-pathname-defaults* to #P"" in some hook?




More information about the slime-devel mailing list