all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
To: bug-gnu-emacs@gnu.org
Subject: Re: server.el hardcodes directory /tmp
Date: Fri, 3 Aug 2007 14:40:56 +0200 (W. Europe Daylight Time)	[thread overview]
Message-ID: <u3az06baf.fsf@WDFD00185931A.sap.corp> (raw)
In-Reply-To: <mailman.4313.1186143557.32220.bug-gnu-emacs@gnu.org>

Eli Zaretskii <eliz@gnu.org> wrote:

> server-socket-dir is not used on Windows, AFAIK (it is pertinent to
> the method of communicating between emacsclient and the server that
> cannot work on Windows)

As of Emacs 22.1, this is correct. But it may change in the future.

> so I think it's okay for it to cater only for Unix and GNU systems.

Emacs runs on many different operating systems.

> As to server-temp-file-regexp, it sounds like it is specific to
> certain applications other than Emacs which use temporary file names
> that match this regexp.

The documentation of this variable is not entirely clear to me.
It does not tell me in which way the files that match this regexp
are handled differently than all other files.

> Did you have specific problems with any of these applications on
> Windows due to the value of server-temp-file-regexp?

Actually not. I just wondered about the default setting.
In my opinion, temporary-file-directory should be preferred over
"/tmp/" or whatever directly set directory, simply because then it
would work on all operating systems when set correctly in one place.

> The reason I'm asking is that making this regexp be more
> Windows-friendly requires one to know where do the applications for
> which this option was introduced store their temporary files.

For which Unix/GNU applications does the default apply?

>> My suggestion would be to use the variable temporary-file-directory
>> instead.
>
> Assuming the respective applications put their files there on Windows,
> I agree.

It could only be an improvement. For typical Unix/GNU systems,
temporary-file-directory is set to "/tmp/" anyway.

-- 
Klaus Straubinger

  parent reply	other threads:[~2007-08-03 12:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-02 10:56 server.el hardcodes directory /tmp Klaus Straubinger
2007-08-03 12:19 ` Eli Zaretskii
     [not found] ` <mailman.4313.1186143557.32220.bug-gnu-emacs@gnu.org>
2007-08-03 12:40   ` Klaus Straubinger [this message]
2007-08-03 21:47     ` Eli Zaretskii
2007-08-03 22:02     ` Richard Stallman

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=u3az06baf.fsf@WDFD00185931A.sap.corp \
    --to=ksnetz@usenet.arcornews.de \
    --cc=bug-gnu-emacs@gnu.org \
    /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.
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.