[slime-devel] Windows + CLisp: wrong path separator?

Helmut Eller heller at common-lisp.net
Fri Jul 30 16:55:31 UTC 2010


* egarrulo [2010-07-30 15:13] writes:

> Hello,
>
> I'm trying to run SLIME (snapshot of 2010 July 06) with native (that
> is, not Cygwinized) CLisp 2.49.
>
> When I started SLIME, CLisp complained it couldn't find
> "swank-loader.lisp" with provided full path, which had backslashes.
> Therefore, I setted `slime-backend' to full path of
> `swank-loader.lisp', but using slashes, and that worked.
>
> Now, CLisp complains that it can't find the directory:
>
> - OPEN: Directory #P"C:\\DOCUME~1\\USERR~2\\IMPOST~1\\Temp\\" does not exist
>
> Such directory does exist. Should I replace backslashes with slashes
> here too, maybe? But I don't know what variable to set.

The value comes from temporary-file-directory inside Emacs.  Maybe it
works if you set that to the full directory name (with /-es but without
~1 thingies).

If CLISP can't do
(open "C:\\DOCUME~1\\USERR~2\\IMPOST~1\\Temp\\x.x" :if-does-not-exist :create)
it's arguably a CLISP bug.

Helmut





More information about the slime-devel mailing list