all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Fwd: server.el hardcodes directory /tmp
Date: Fri, 03 Aug 2007 02:13:20 -0400	[thread overview]
Message-ID: <jwvd4y5xi98.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1IGnyv-0001ic-Ss@fencepost.gnu.org> (Richard Stallman's message of "Thu\, 02 Aug 2007 23\:37\:41 -0400")

> Would someone please DTRT and ack?
> If the bug is in Emacs 22, please fix it in Emacs 22.

> ------- Start of forwarded message -------
> X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
> 	autolearn=failed version=3.1.0
> Date: Thu, 2 Aug 2007 12:56:42 +0200 (W. Europe Daylight Time)
> From: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
> To: bug-gnu-emacs@gnu.org
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Subject: server.el hardcodes directory /tmp

> 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.

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

The problem is that the location needs to be agreed upon between server.el
and emacsclient.  Since emacsclient does not have access to Elisp in general
and temporary-file-directory in particular, this is not an option.

I guess server-socket-dir could/should use something else than /tmp under
w32, tho I have no idea what value would make sense.  Also maybe this could
obey $TEMP and/or $TMPDIR, assuming the same value is used for both the
`emacs' and the `emacsclient' processes (which is not a necessarily correct
assumption, sadly).


        Stefan

  reply	other threads:[~2007-08-03  6:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03  3:37 [KSNetz@UseNet.ArcorNews.DE: server.el hardcodes directory /tmp] Richard Stallman
2007-08-03  6:13 ` Stefan Monnier [this message]
2007-08-03 12:39   ` Fwd: server.el hardcodes directory /tmp Eli Zaretskii

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=jwvd4y5xi98.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.