Date: Tue, 23 Mar 1999 06:08:13 -0500 Message-Id: <199903231108.GAA18781@mescaline.gnu.org> From: Eli Zaretskii To: M DOT A DOT Bukin AT inp DOT nsk DOT su CC: djgpp-workers AT delorie DOT com In-reply-to: <20aex7kntt.fsf@Sky.inp.nsk.su> (message from Michael Bukin on 21 Mar 1999 18:51:42 +0600) Subject: Re: More TMPDIR strangeness References: <199903211157 DOT MAA04465 AT father DOT ludd DOT luth DOT se> <20aex7kntt DOT fsf AT Sky DOT inp DOT nsk DOT su> Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk From: Michael Bukin It is already there in elisp files lisp/files.el and lisp/startup.el (for Emacs-20.3), look for variable `temporary-file-directory'. Emacs doesn't use temporary-file-directory for temporary files used to redirect the standard streams of sub-processes. So the files.el code is not relevant to this particular problem. But order in which Emacs searches for tmp directory location is different for ms-dos and windows. The only reason I can imagine is faster startup (TEMP is more likely to be defined in ms-dos), but it is somewhat ridiculous. Why ridiculous? The NT port is maintained by other people, and different people have different considerations on what's right and what's wrong. Note that in 20.3, TMPDIR will also be used, since msdos.c defines it at startup. So it's a moot point anyway.