X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Fri, 23 Apr 2004 12:20:59 +0300 (EET DST) From: Esa A E Peuha Sender: peuha AT sirppi DOT helsinki DOT fi To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: Emacs oddity with TMPDIR In-Reply-To: <2914-Thu22Apr2004214547+0300-eliz@gnu.org> Message-ID: References: <2914-Thu22Apr2004214547+0300-eliz AT gnu DOT org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: esa DOT peuha AT helsinki DOT fi Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 22 Apr 2004, Eli Zaretskii wrote: > > Date: Thu, 22 Apr 2004 11:36:00 +0300 (EET DST) > > From: Esa A E Peuha > > > > On my machine, I have TMPDIR, TEMP, and TMP all set to e: (my ram drive) > > Why not set them to e:/ or e:\ ? I did so after I noticed that Emacs doesn't like plain e: (BTW, this is completely undocumented in the Emacs manual). > I'm not sure it's Emacs's fault: "e:" is a bad value for a temporary > directory, since the place it points to will change with the cwd on > drive E. Emacs needs a fixed place for TMPDIR, so it could relate to > it from any buffer and still find the files. The why doesn't Emacs add a slash to the string? DJGPP's tmpnam does so and it seems quite sensible to me. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/