unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
Cc: bug-gnu-emacs@gnu.org, 2107@emacsbugs.donarmstrong.com
Subject: bug#2107: temp-file-name-pattern vs temporary-file-directory
Date: Thu, 29 Jan 2009 17:13:20 -0500	[thread overview]
Message-ID: <jwvzlh9iwyl.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <m3zlharrha.fsf@tfkp04.physik.uni-erlangen.de> (Roland Winkler's message of "Thu, 29 Jan 2009 17:45:21 +0100")

> Recently I learned about the variable temp-file-name-pattern when
> under odd circumstances I didn't have access to /tmp. I was
> surprised that the default value of this variable was
> /tmp/emacsXXXXXX, thus ignoring my setting of
> temporary-file-directory. Shouldn't temp-file-name-pattern take into
> account the value of temporary-file-directory?

It looks like temp-file-name-pattern is specific to call-process-region,
and predates temporary-file-directory.  call-process-region indeed
should be updated to use either make-temp-file or at least
temporary-file-directory.  And temp-file-name-pattern should be dropped.


        Stefan






  parent reply	other threads:[~2009-01-29 22:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k58clktp.fsf@cyd.mit.edu>
2009-01-29 16:45 ` bug#2107: temp-file-name-pattern vs temporary-file-directory Roland Winkler
2009-01-29 19:00   ` Eli Zaretskii
2009-01-29 19:09     ` Roland Winkler
2009-01-29 22:13   ` Stefan Monnier [this message]
2009-01-30 18:25   ` bug#2107: marked as done (temp-file-name-pattern vs temporary-file-directory) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvzlh9iwyl.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=2107@emacsbugs.donarmstrong.com \
    --cc=Roland.Winkler@physik.uni-erlangen.de \
    --cc=bug-gnu-emacs@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).