delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/23/05:21:13

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 <peuha AT cc DOT helsinki DOT fi>
Sender: peuha AT sirppi DOT helsinki DOT fi
To: Eli Zaretskii <eliz AT gnu DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: Emacs oddity with TMPDIR
In-Reply-To: <2914-Thu22Apr2004214547+0300-eliz@gnu.org>
Message-ID: <Pine.OSF.4.58.0404231208140.31509@sirppi.helsinki.fi>
References: <Pine DOT OSF DOT 4 DOT 58 DOT 0404221114550 DOT 20168 AT sirppi DOT helsinki DOT fi>
<2914-Thu22Apr2004214547+0300-eliz AT gnu DOT org>
MIME-Version: 1.0
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

On Thu, 22 Apr 2004, Eli Zaretskii wrote:

> > Date: Thu, 22 Apr 2004 11:36:00 +0300 (EET DST)
> > From: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
> >
> > 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019