From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1081: marked as done (make-temp-file) Date: Sat, 4 Oct 2008 13:40:05 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1223152804-1900-0" X-Trace: ger.gmane.org 1223153434 26666 80.91.229.12 (4 Oct 2008 20:50:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 20:50:34 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 22:51:31 2008 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 1KmE66-0004X0-3K for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 22:51:30 +0200 Original-Received: from localhost ([127.0.0.1]:47305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmE52-0007dp-St for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 16:50:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmE4h-0007SB-2F for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 16:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmE4g-0007R8-BR for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 16:50:02 -0400 Original-Received: from [199.232.76.173] (port=58904 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmE4f-0007R4-W6 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 16:50:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43114) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmE4c-0005YG-SX; Sat, 04 Oct 2008 16:49:59 -0400 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 m94KnulS004291; Sat, 4 Oct 2008 13:49:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m94Ke55G002001; Sat, 4 Oct 2008 13:40:05 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1081 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:21113 Archived-At: This is a multi-part message in MIME format... ------------=_1223152804-1900-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 04 Oct 2008 16:29:52 -0400 with message-id and subject line Re: bug#1081: make-temp-file has caused the Emacs bug report #1081, regarding make-temp-file to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1081: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1081 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1223152804-1900-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Status: No, score=1.2 required=4.0 tests=AWL,BAYES_50,ONEWORD, RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2008 17:42:18 +0000 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 m94HgEhk023158 for ; Sat, 4 Oct 2008 10:42:15 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmB8w-0004qu-9n for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:42:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmB8t-0004qi-SM for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:42:13 -0400 Received: from [199.232.76.173] (port=48736 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmB8t-0004qf-MI for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:42:11 -0400 Received: from bay0-omc3-s21.bay0.hotmail.com ([65.54.246.221]:31489) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmB8t-0002uO-94 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 13:42:11 -0400 Received: from hotmail.com ([207.46.10.12]) by bay0-omc3-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 4 Oct 2008 10:42:10 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 4 Oct 2008 10:42:10 -0700 Message-ID: Received: from 124.155.30.210 by BAY121-DAV2.phx.gbl with DAV; Sat, 04 Oct 2008 17:42:07 +0000 X-Originating-IP: [124.155.30.210] X-Originating-Email: [t_tuneyosi@hotmail.com] X-Sender: t_tuneyosi@hotmail.com From: "Toru TSUNEYOSHI" To: Subject: make-temp-file Date: Sun, 5 Oct 2008 02:42:06 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1933 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 X-OriginalArrivalTime: 04 Oct 2008 17:42:10.0331 (UTC) FILETIME=[872046B0:01C92648] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Hello. I don't know the following is a bug or not (on Emacs 22.3). But I will report it. temporary-file-directory => "/tmp/" example 1: (make-temp-file "test") => "/tmp/test13247c2" example 2: (make-temp-file "") => "/tmp1324tmF" Of course, example 1 is OK. On the other hand, example 2 is OK? In example 2, the function don't make temporary file under "/tmp" directory. Even if PREFIX is empty string, the function should make under "/tmp" directory, I think. example of revision in (defun make-temp-file): (setq file (make-temp-name (expand-file-name prefix temporary-file-directory))) => (setq file (make-temp-name (if (string-equal prefix "") temporary-file-directory (expand-file-name prefix temporary-file-directory)))) ------------=_1223152804-1900-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1081-done) by emacsbugs.donarmstrong.com; 4 Oct 2008 20:32:14 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m94KWBJk000617 for <1081-done@emacsbugs.donarmstrong.com>; Sat, 4 Oct 2008 13:32:12 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KmDlA-0007uE-Bk; Sat, 04 Oct 2008 16:29:52 -0400 From: Glenn Morris To: 1081-done@emacsbugs.donarmstrong.com Subject: Re: bug#1081: make-temp-file References: X-Spook: LABLINK beanpole nuclear SHA Venezuela virus Al-Qaeda X-Ran: ;qpiyPa%!!lA|J3BnJD(wo{Pf[*ve4NFj|&N]X4VZN0jfnUR'PU*>lkLU,A[t=_j?r;(^+ X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 04 Oct 2008 16:29:52 -0400 In-Reply-To: (Toru TSUNEYOSHI's message of "Sun, 5 Oct 2008 02:42:06 +0900") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Toru TSUNEYOSHI" wrote: > (make-temp-file "") > => "/tmp1324tmF" 2008-10-04 Glenn Morris * files.el (make-temp-file): Handle empty `prefix'. (Bug#1081) ------------=_1223152804-1900-0--