* bug#2107: temp-file-name-pattern vs temporary-file-directory @ 2009-01-29 16:45 ` Roland Winkler 2009-01-29 19:00 ` Eli Zaretskii ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Roland Winkler @ 2009-01-29 16:45 UTC (permalink / raw) To: bug-gnu-emacs 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? In GNU Emacs 22.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-03-27 on tfkp07 configured using `configure '--with-gcc' '--with-x-toolkit=athena'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_GB.utf8 value of $LANG: en_US.iso885915 locale-coding-system: iso-8859-15 default-enable-multibyte-characters: t ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2107: temp-file-name-pattern vs temporary-file-directory 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 2009-01-30 18:25 ` bug#2107: marked as done (temp-file-name-pattern vs temporary-file-directory) Emacs bug Tracking System 2 siblings, 1 reply; 5+ messages in thread From: Eli Zaretskii @ 2009-01-29 19:00 UTC (permalink / raw) To: Roland Winkler, 2107 > Date: Thu, 29 Jan 2009 17:45:21 +0100 > From: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de> > Cc: > > 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 at $TMPDIR, at least for me. ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2107: temp-file-name-pattern vs temporary-file-directory 2009-01-29 19:00 ` Eli Zaretskii @ 2009-01-29 19:09 ` Roland Winkler 0 siblings, 0 replies; 5+ messages in thread From: Roland Winkler @ 2009-01-29 19:09 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 2107 On Thu Jan 29 2009 Eli Zaretskii wrote: > > From: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de> > > 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 at $TMPDIR, at least for me. Ah, $TMPDIR is an environment variable I didn't know about. I have customized temporary-file-directory to point to a directory that is used only by emacs. I would expect temp-file-name-pattern recognizes such a setting, too. ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2107: temp-file-name-pattern vs temporary-file-directory 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 22:13 ` Stefan Monnier 2009-01-30 18:25 ` bug#2107: marked as done (temp-file-name-pattern vs temporary-file-directory) Emacs bug Tracking System 2 siblings, 0 replies; 5+ messages in thread From: Stefan Monnier @ 2009-01-29 22:13 UTC (permalink / raw) To: Roland Winkler; +Cc: bug-gnu-emacs, 2107 > 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#2107: marked as done (temp-file-name-pattern vs temporary-file-directory) 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 22:13 ` Stefan Monnier @ 2009-01-30 18:25 ` Emacs bug Tracking System 2 siblings, 0 replies; 5+ messages in thread From: Emacs bug Tracking System @ 2009-01-30 18:25 UTC (permalink / raw) To: Chong Yidong [-- Attachment #1: Type: text/plain, Size: 896 bytes --] Your message dated Fri, 30 Jan 2009 13:17:54 -0500 with message-id <87k58clktp.fsf@cyd.mit.edu> and subject line Re: bug#2107: temp-file-name-pattern vs temporary-file-directory has caused the Emacs bug report #2107, regarding temp-file-name-pattern vs temporary-file-directory 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 owner@emacsbugs.donarmstrong.com immediately.) -- 2107: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2107 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 2798 bytes --] From: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de> To: bug-gnu-emacs@gnu.org Subject: temp-file-name-pattern vs temporary-file-directory Date: Thu, 29 Jan 2009 17:45:21 +0100 Message-ID: <m3zlharrha.fsf@tfkp04.physik.uni-erlangen.de> 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? In GNU Emacs 22.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-03-27 on tfkp07 configured using `configure '--with-gcc' '--with-x-toolkit=athena'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_GB.utf8 value of $LANG: en_US.iso885915 locale-coding-system: iso-8859-15 default-enable-multibyte-characters: t [-- Attachment #3: Type: message/rfc822, Size: 1284 bytes --] From: Chong Yidong <cyd@stupidchicken.com> To: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de> Cc: Eli Zaretskii <eliz@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca>, 2107-done@emacsbugs.donarmstrong.com Subject: Re: bug#2107: temp-file-name-pattern vs temporary-file-directory Date: Fri, 30 Jan 2009 13:17:54 -0500 Message-ID: <87k58clktp.fsf@cyd.mit.edu> I've removed temp-file-name-pattern, and changed call-process-region to use temporary-file-directory. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-30 18:25 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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 2009-01-30 18:25 ` bug#2107: marked as done (temp-file-name-pattern vs temporary-file-directory) Emacs bug Tracking System
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.