unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: server.el hardcodes directory /tmp
Date: Fri, 03 Aug 2007 15:19:09 +0300	[thread overview]
Message-ID: <uzm18byki.fsf@gnu.org> (raw)
In-Reply-To: <u1wemryqd.fsf@WDFD00185931A.sap.corp> (message from Klaus Straubinger on Thu, 2 Aug 2007 12:56:42 +0200 (W. Europe Daylight Time))

> Date: Thu, 2 Aug 2007 12:56:42 +0200 (W. Europe Daylight Time)
> From: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
> 
> In server.el the variables server-temp-file-regexp and
> server-socket-dir contain direct references to the directory "/tmp"
> which are not appropriate in operating systems like Microsoft Windows.
> The second one is not even customizable.

Thank you for your report.

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), so I think it's okay for it to cater only for
Unix and GNU 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.  Did you have specific problems with any of
these applications on Windows due to the value of
server-temp-file-regexp? if so, could you please describe those
problems?

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.

> My suggestion would be to use the variable temporary-file-directory
> instead.

Assuming the respective applications put their files there on Windows,
I agree.

  reply	other threads:[~2007-08-03 12:19 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 [this message]
     [not found] ` <mailman.4313.1186143557.32220.bug-gnu-emacs@gnu.org>
2007-08-03 12:40   ` Klaus Straubinger
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uzm18byki.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).