slime + chokes on temporary-file-directory set to "~/temp" on Windows
Luís Oliveira
luismbo at gmail.com
Thu Feb 27 01:21:57 UTC 2014
On Wed, Feb 26, 2014 at 6:50 PM, Mirko Vukovic <mirko.vukovic at gmail.com> 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
"~/temp".
> Is this a bug - since on Windows Emacs accepts `~' for the home directory?
I think so. Can you confirm <https://github.com/slime/slime/pull/118>
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 <https://github.com/slime/slime/issues/119> to
track that.
Cheers,
--
Luís Oliveira
http://kerno.org/~luis/
More information about the slime-devel
mailing list