emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: server.el hardcodes directory /tmp


From: Eli Zaretskii
Subject: Re: Fwd: server.el hardcodes directory /tmp
Date: Fri, 03 Aug 2007 15:39:43 +0300

> From: Stefan Monnier <address@hidden>
> Date: Fri, 03 Aug 2007 02:13:20 -0400
> Cc: address@hidden
> 
> The problem is that the location needs to be agreed upon between server.el
> and emacsclient.  Since emacsclient does not have access to Elisp in general
> and temporary-file-directory in particular, this is not an option.

Yep.  But we could put in emacsclient the code that at least computes
the default value of temporary-file-directory as it does in Emacs.

> I guess server-socket-dir could/should use something else than /tmp under
> w32, tho I have no idea what value would make sense.

I think this is not an issue, since server-socket-dir is not used on
Windows at all (Windows uses the TCP way of connecting to the client).

As for the other option, the regexp doesn't just specify "/tmp", it
actually specifies a regexp for specific files in the temporary
directory.  Does anyone know where do the programs which use such
temporary files put them on Windows?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]