From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fwd: server.el hardcodes directory /tmp Date: Fri, 03 Aug 2007 15:39:43 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186144800 32728 80.91.229.12 (3 Aug 2007 12:40:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2007 12:40:00 +0000 (UTC) Cc: Klaus Straubinger , rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 03 14:39:59 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IGwRf-0000fT-Gk for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2007 14:39:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGwRf-0007wg-36 for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2007 08:39:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGwRb-0007wN-VI for emacs-devel@gnu.org; Fri, 03 Aug 2007 08:39:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGwRa-0007vy-If for emacs-devel@gnu.org; Fri, 03 Aug 2007 08:39:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGwRa-0007vv-Dv for emacs-devel@gnu.org; Fri, 03 Aug 2007 08:39:50 -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 1IGwRY-00038H-Te; Fri, 03 Aug 2007 08:39:49 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-197-78.inter.net.il [83.130.197.78]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DGV95508 (AUTH halo1); Fri, 3 Aug 2007 15:39:43 +0300 (IDT) In-reply-to: (message from Stefan Monnier on Fri, 03 Aug 2007 02:13:20 -0400) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75989 Archived-At: > From: Stefan Monnier > Date: Fri, 03 Aug 2007 02:13:20 -0400 > Cc: emacs-devel@gnu.org > > 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?