GNU bug report logs - #2107
temp-file-name-pattern vs temporary-file-directory

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>

Date: Thu, 29 Jan 2009 16:55:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Roland Winkler <Roland.Winkler <at> physik.uni-erlangen.de>
Cc: 2107 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#2107: temp-file-name-pattern vs temporary-file-directory
Date: Thu, 29 Jan 2009 17:13:20 -0500
> 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




This bug report was last modified 16 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.