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: Sat, 04 Aug 2007 00:47:55 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186177728 13374 80.91.229.12 (3 Aug 2007 21:48:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2007 21:48:48 +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 23:48:45 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 1IH50k-0002Zr-7G for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 23:48:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IH50g-0003my-Bo for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 17:48:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IH50X-0003ij-0y for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 17:48:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IH50V-0003gR-51 for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 17:48:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IH50U-0003gK-V5 for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 17:48:26 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IH50S-0006TU-TX for bug-gnu-emacs@gnu.org; Fri, 03 Aug 2007 17:48:25 -0400 Original-Received: from HOME-C4E4A596F7 ([81.5.35.168]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DGX65225 (AUTH halo1); Sat, 4 Aug 2007 00:47:55 +0300 (IDT) In-reply-to: (message from Klaus Straubinger on Fri, 3 Aug 2007 14:40:56 +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:16279 Archived-At: > Date: Fri, 3 Aug 2007 14:40:56 +0200 (W. Europe Daylight Time) > From: Klaus Straubinger > > 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. It can only change if some future version of Windows implements Unix sockets. I find this unlikely, to say the least. > > so I think it's okay for it to cater only for Unix and GNU systems. > > Emacs runs on many different operating systems. They are all either Posix or DOS/Windows. > > 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. They are backed up unconditionally without asking any questions (see server-done), but I must admit I don't fully understand the reasons, either. > > 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? server-edit mentions MH in its doc string. > >> 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. Sorry, I don't like making changes I don't understand.