bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2107: temp-file-name-pattern vs temporary-file-directory


From: Stefan Monnier
Subject: bug#2107: temp-file-name-pattern vs temporary-file-directory
Date: Thu, 29 Jan 2009 17:13:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]