From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Ulrich Mueller <ulm@gentoo.org>, emacs-devel@gnu.org
Subject: Re: Lost socket for detached Emacs, how to regain control?
Date: Thu, 06 Nov 2008 21:15:38 -0500 [thread overview]
Message-ID: <jwviqr0qo57.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <f7ccd24b0811060750u7a18c965p52fba2455fd0563@mail.gmail.com> (Juanma Barranquero's message of "Thu, 6 Nov 2008 16:50:37 +0100")
>> That's a good alternative, tho it should check somehow that the server
>> is supposed to run on the same machine.
> The simplest way to do it without any networking (and so, without
> risking delays) is just checking that the address in the server auth
> file is 127.0.0.1.
> But I have a doubt. What is the intended use of `server-running-p'?
> That affects whether to check for local sockets, TCP sockets, or both.
Currently it's not used (except in some people's .emacs). The intended
use is in start-server to try and prevent hijacking the socket of
a pre-existing server. So it's probably not less important for TCP where
two servers of the same name can actually co-exist on different ports.
Stefan
next prev parent reply other threads:[~2008-11-07 2:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 15:32 Lost socket for detached Emacs, how to regain control? Ulrich Mueller
2008-11-06 1:31 ` Stefan Monnier
2008-11-06 9:47 ` Juanma Barranquero
2008-11-06 14:15 ` Stefan Monnier
2008-11-06 15:50 ` Juanma Barranquero
2008-11-07 2:15 ` Stefan Monnier [this message]
2008-11-07 14:47 ` Juanma Barranquero
2008-11-07 6:48 ` Ulrich Mueller
2008-11-07 14:39 ` Stefan Monnier
2008-11-07 14:54 ` Dan Nicolaescu
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=jwviqr0qo57.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=ulm@gentoo.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.