slime + chokes on temporary-file-directory set to "~/temp" on Windows

Luís Oliveira luismbo at
Thu Feb 27 01:21:57 UTC 2014

On Wed, Feb 26, 2014 at 6:50 PM, Mirko Vukovic <mirko.vukovic at> wrote:
> I grepped slime's lisp files for temporary-file-directory, but did not see
> it.  I tested this with
> clisp -norc option.

IIUC, the issue lies in `slime-swank-port-file' which names the file
"where the SWANK server writes its TCP port number." That function
simply returns the value of `temporary-file-directory' which is later
passed to swank. When swank tries to open that file, it fails to parse

> Is this a bug - since on Windows Emacs accepts `~' for the home directory?

I think so. Can you confirm <>
fixes things for you? BTW, is this a regression?

I also noticed the swank side of this mechanism could be made a bit
more robust. Created <> to
track that.


Luís Oliveira

More information about the slime-devel mailing list