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

Luís Oliveira <[email protected]>
Newsgroups gmane.lisp.slime.devel
Message-ID <CAB-HnLQewrdWMQTQ9NFdcpqM-PzY8a42x21MFQiR4H1RgN+Dow@mail.gmail.com>
On Wed, Feb 26, 2014 at 6:50 PM, Mirko Vukovic <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.