unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>,
	rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Fwd: server.el hardcodes directory /tmp
Date: Fri, 03 Aug 2007 15:39:43 +0300	[thread overview]
Message-ID: <uvebwbxm8.fsf@gnu.org> (raw)
In-Reply-To: <jwvd4y5xi98.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 03 Aug 2007 02:13:20 -0400)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Fri, 03 Aug 2007 02:13:20 -0400
> Cc: emacs-devel@gnu.org
> 
> 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.

Yep.  But we could put in emacsclient the code that at least computes
the default value of temporary-file-directory as it does in Emacs.

> I guess server-socket-dir could/should use something else than /tmp under
> w32, tho I have no idea what value would make sense.

I think this is not an issue, since server-socket-dir is not used on
Windows at all (Windows uses the TCP way of connecting to the client).

As for the other option, the regexp doesn't just specify "/tmp", it
actually specifies a regexp for specific files in the temporary
directory.  Does anyone know where do the programs which use such
temporary files put them on Windows?

      reply	other threads:[~2007-08-03 12:39 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 ` Fwd: server.el hardcodes directory /tmp Stefan Monnier
2007-08-03 12:39   ` Eli Zaretskii [this message]

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=uvebwbxm8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=KSNetz@UseNet.ArcorNews.DE \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --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 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).