From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.bugs Subject: Re: server.el hardcodes directory /tmp Date: Fri, 3 Aug 2007 14:40:56 +0200 (W. Europe Daylight Time) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186162691 31441 80.91.229.12 (3 Aug 2007 17:38:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2007 17:38:11 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 19:38:08 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 1IH16F-0004lt-Jo for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 19:38:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IH169-0001Gz-07 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 13:38:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGwSv-0008QE-Ne for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:41:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGwSv-0008Pv-63 for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:41:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGwSu-0008Pp-Ne for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:41:12 -0400 Original-Received: from smtpde01.sap-ag.de ([155.56.68.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGwSp-0003Xj-To for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 08:41:12 -0400 Original-Received: from sap-ag.de (smtpde01) by smtpde01.sap-ag.de (out) with ESMTP id OAA05505 for ; Fri, 3 Aug 2007 14:40:57 +0200 (MESZ) In-Reply-To: X-Mailer: Gnus/5.11 (Gnus v5.11) Emacs/22.1 X-SAP: out X-Detected-Kernel: Solaris 8 (1) X-Mailman-Approved-At: Fri, 03 Aug 2007 13:37:53 -0400 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:16277 Archived-At: Eli Zaretskii wrote: > 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) As of Emacs 22.1, this is correct. But it may change in the future. > so I think it's okay for it to cater only for Unix and GNU systems. Emacs runs on many different operating 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. The documentation of this variable is not entirely clear to me. It does not tell me in which way the files that match this regexp are handled differently than all other files. > Did you have specific problems with any of these applications on > Windows due to the value of server-temp-file-regexp? Actually not. I just wondered about the default setting. In my opinion, temporary-file-directory should be preferred over "/tmp/" or whatever directly set directory, simply because then it would work on all operating systems when set correctly in one place. > 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. For which Unix/GNU applications does the default apply? >> My suggestion would be to use the variable temporary-file-directory >> instead. > > Assuming the respective applications put their files there on Windows, > I agree. It could only be an improvement. For typical Unix/GNU systems, temporary-file-directory is set to "/tmp/" anyway. -- Klaus Straubinger