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: Sat, 04 Aug 2007 00:47:55 +0300 [thread overview]
Message-ID: <uir7wb88k.fsf@gnu.org> (raw)
In-Reply-To: <u3az06baf.fsf@WDFD00185931A.sap.corp> (message from Klaus Straubinger on Fri, 3 Aug 2007 14:40:56 +0200 (W. Europe Daylight Time))
> Date: Fri, 3 Aug 2007 14:40:56 +0200 (W. Europe Daylight Time)
> From: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
>
> 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.
It can only change if some future version of Windows implements Unix
sockets. I find this unlikely, to say the least.
> > so I think it's okay for it to cater only for Unix and GNU systems.
>
> Emacs runs on many different operating systems.
They are all either Posix or DOS/Windows.
> > 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.
They are backed up unconditionally without asking any questions (see
server-done), but I must admit I don't fully understand the reasons,
either.
> > 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?
server-edit mentions MH in its doc string.
> >> 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.
Sorry, I don't like making changes I don't understand.
next prev parent reply other threads:[~2007-08-03 21:47 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
2007-08-03 21:47 ` Eli Zaretskii [this message]
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=uir7wb88k.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 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.