all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: don@donarmstrong.com (Emacs bug Tracking System)
To: Glenn Morris <rgm@gnu.org>
Subject: bug#1081: marked as done (make-temp-file)
Date: Sat, 4 Oct 2008 13:40:05 -0700	[thread overview]
Message-ID: <handler.1081.D1081.1223152334623.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: BAY121-DAV29D93AF8F6F1223138242E23F0@phx.gbl

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]


Your message dated Sat, 04 Oct 2008 16:29:52 -0400
with message-id <wxbpy0f6in.fsf@fencepost.gnu.org>
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.)


-- 
1081: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1081
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3180 bytes --]

From: "Toru TSUNEYOSHI" <t_tuneyosi@hotmail.com>
To: <bug-gnu-emacs@gnu.org>
Subject: make-temp-file
Date: Sun, 5 Oct 2008 02:42:06 +0900
Message-ID: <BAY121-DAV29D93AF8F6F1223138242E23F0@phx.gbl>

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))))




[-- Attachment #3: Type: message/rfc822, Size: 1631 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 1081-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1081: make-temp-file
Date: Sat, 04 Oct 2008 16:29:52 -0400
Message-ID: <wxbpy0f6in.fsf@fencepost.gnu.org>

"Toru TSUNEYOSHI" wrote:

>     (make-temp-file "")
>     => "/tmp1324tmF"

2008-10-04  Glenn Morris  <rgm@gnu.org>

    * files.el (make-temp-file): Handle empty `prefix'. (Bug#1081)


      reply	other threads:[~2008-10-04 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <wxbpy0f6in.fsf@fencepost.gnu.org>
2008-10-04 17:42 ` bug#1081: make-temp-file Toru TSUNEYOSHI
2008-10-04 20:40   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.1081.D1081.1223152334623.ackdone@emacsbugs.donarmstrong.com \
    --to=don@donarmstrong.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.