From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: server.el hardcodes directory /tmp Date: Fri, 03 Aug 2007 15:19:09 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186143632 29005 80.91.229.12 (3 Aug 2007 12:20:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2007 12:20:32 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Klaus Straubinger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 14:20:30 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IGw8m-0002OD-Ph for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 14:20:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGw8m-00086o-6N for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 08:20:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGw7f-0007sK-HO for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:19:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGw7d-0007rd-R0 for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:19:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGw7d-0007rZ-Hc for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:19:13 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGw7c-0006dk-9u for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:19:12 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-197-78.inter.net.il [83.130.197.78]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HKX76674 (AUTH halo1); Fri, 3 Aug 2007 15:19:21 +0300 (IDT) In-reply-to: (message from Klaus Straubinger on Thu, 2 Aug 2007 12:56:42 +0200 (W. Europe Daylight Time)) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16274 Archived-At: > Date: Thu, 2 Aug 2007 12:56:42 +0200 (W. Europe Daylight Time) > From: Klaus Straubinger > > 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 problems? 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.