From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#2211: server-socket-dir and make-temp-file Date: Thu, 05 Feb 2009 18:28:19 +0100 Message-ID: Reply-To: Roland Winkler , 2211@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233855940 6121 80.91.229.12 (5 Feb 2009 17:45:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 17:45:40 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 18:46:54 2009 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 1LV8JJ-0003Ps-1a for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Feb 2009 18:46:45 +0100 Original-Received: from localhost ([127.0.0.1]:60114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV8Hz-00064D-U4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Feb 2009 12:45:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV8GH-0005M4-Hb for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:43:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV8GF-0005Kp-Kb for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:43:36 -0500 Original-Received: from [199.232.76.173] (port=33092 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV8GF-0005Ka-Be for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:43:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36731) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LV8GE-0007G0-4x for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:43:34 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15HhWq2026949; Thu, 5 Feb 2009 09:43:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n15HZ3xT024632; Thu, 5 Feb 2009 09:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Roland Winkler" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 05 Feb 2009 17:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2211 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123385491123344 (code B ref -1); Thu, 05 Feb 2009 17:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Feb 2009 17:28:31 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15HSRs2023338 for ; Thu, 5 Feb 2009 09:28:29 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV81b-0007cn-CM for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:28:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV81Y-0007c6-L2 for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:28:26 -0500 Original-Received: from [199.232.76.173] (port=58846 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV81Y-0007c3-Ea for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:28:24 -0500 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]:3239) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LV81Y-000502-1B for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 12:28:24 -0500 Original-Received: from tfkp04.physik.uni-erlangen.de (tfkp04.physik.uni-erlangen.de [131.188.164.204]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 98272215D1 for ; Thu, 5 Feb 2009 18:28:20 +0100 (CET) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 05 Feb 2009 12:43:36 -0500 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:24977 Archived-At: server-socket-dir is by default a directory in /tmp. With CVS emacs it also takes the TMPDIR environment variable into account. Shouldn't this variable be initialized using make-temp-file so that it obeys any customization of temporary-file-directory? Actually, I ran the following command in the emacs directory $ grep "\"/tmp\"" lisp/*el lisp/*/*el Browsing through the matches, it seems to me that pmail-mime-attachment-dirs-alist and url-temporary-directory should be updated, too. A related issue: I do not quite understand a piece of code like (make-temp-file (concat (file-name-as-directory (or (getenv "TMPDIR") "/tmp")) "artist-stdin.")) used in the function artist-system. If the PREFIX arg of make-temp-file is an absolute directory as in the example above, make-temp-file will ignore any user customization of temporary-file-directory. The function ps-run-make-tmp-filename behaves similarly. In GNU Emacs 22.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-03-27 on tfkp07