[slime-devel] does change-directory change *default-pathname-defaults*

Madhu enometh at meer.net
Wed Oct 27 19:19:12 UTC 2010


* (Pascal J. Bourguignon) <87ocafa8xj.fsf at kuiper.lan.informatimago.com> :
Wrote on Wed, 27 Oct 2010 18:37:28 +0200:
|
|> On clisp 2.48+cygwin and slime of 2010-09-03, changing directory
|> leaves *default-pathname-defaults* unchanged.
|>
|> Is that a feature or bug?
|
| It's a feature.
|
| EXT:CD changes the POSIX current working directory.
|
| Setting *default-pathname-defaults* changes the default lisp pathname
| defaults.
|
| Changing them doesn't change the default-directory in emacs either.
|
|
| Well, if you want to keep synchronized the POSIX current working
| directory with *default-pathname-defaults*, you could use
| com.informatimago.common-lisp.browser:cd instead of ext:cd.

IME, the only sensible value for *d-p-d* is #p"".

Which is reason never to use slime's change directory functions.

--
Madhu





More information about the slime-devel mailing list