[Top][All Lists]

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

Re: server.el hardcodes directory /tmp

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

> Date: Thu, 2 Aug 2007 12:56:42 +0200 (W. Europe Daylight Time)
> From: Klaus Straubinger <address@hidden>
> In server.el the variables server-temp-file-regexp and
> server-socket-dir contain direct references to the directory "/tmp"
> which are not appropriate in operating systems like Microsoft Windows.
> The second one is not even customizable.

Thank you for your report.

server-socket-dir is not used on Windows, AFAIK (it is pertinent to
the method of communicating between emacsclient and the server that
cannot work on Windows), so I think it's okay for it to cater only for
Unix and GNU systems.

As to server-temp-file-regexp, it sounds like it is specific to
certain applications other than Emacs which use temporary file names
that match this regexp.  Did you have specific problems with any of
these applications on Windows due to the value of
server-temp-file-regexp? if so, could you please describe those

The reason I'm asking is that making this regexp be more
Windows-friendly requires one to know where do the applications for
which this option was introduced store their temporary files.

> My suggestion would be to use the variable temporary-file-directory
> instead.

Assuming the respective applications put their files there on Windows,
I agree.

reply via email to

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