Gnus development mailing list
 help / color / mirror / Atom feed
From: Dmitry Bely <dbely@mail.ru>
Subject: Re: {PATCH] minor gpg.el fix for MS Windows
Date: Tue, 30 Apr 2002 20:45:10 +0400	[thread overview]
Message-ID: <adrlgmp5.fsf@mail.ru> (raw)
In-Reply-To: <87adrltdjr.fsf@deneb.enyo.de>

Florian Weimer <fw@deneb.enyo.de> writes:

> Dmitry Bely <dbely@mail.ru> writes:
>
>>  (defcustom gpg-temp-directory 
>> -  (expand-file-name "~/tmp")
>> +  (if (memq system-type '(windows-nt cygwin32 win32 w32 mswindows))
>> +      (temp-directory)
>> +    (expand-file-name "~/tmp"))
>>    "Directory for temporary files.
>>  If you are running Emacs 20, this directory must have mode 0700."
>>    :tag "Temp directory"
>
> I'm not sure if this is correct.  Is 'temp-directory' really available
> on Windows?  It's not documented in the Lisp manual.

Kai already explained that it exists only in XEmacs (no matter Unix or
Windows). Sorry.

> In addition, what about multi-user versions of Windows?  Is this a
> shared directory?

Yes, sure. Every user in WinNT and above has its own temp directory, which
is not readable by anybody else. TEMP environment variable points to that
directory and (temp-directory) in XEmacs/NT returns just that. Probably
"temporary-file-directory" variable in Emacs/NT behaves the same way.

Hope to hear from you soon,
Dmitry



  reply	other threads:[~2002-04-30 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 15:11 Dmitry Bely
2002-04-30 15:24 ` Florian Weimer
2002-04-30 16:45   ` Dmitry Bely [this message]
2002-04-30 16:50     ` Dmitry Bely
2002-04-30 15:47 ` Kai Großjohann
2002-04-30 16:33   ` Dmitry Bely
2002-04-30 16:48     ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adrlgmp5.fsf@mail.ru \
    --to=dbely@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).