unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: Ulrich Mueller <ulm@gentoo.org>, emacs-devel@gnu.org
Subject: Re: Lost socket for detached Emacs, how to regain control?
Date: Thu, 6 Nov 2008 16:50:37 +0100	[thread overview]
Message-ID: <f7ccd24b0811060750u7a18c965p52fba2455fd0563@mail.gmail.com> (raw)
In-Reply-To: <jwvvdv1eydb.fsf-monnier+emacs@gnu.org>

On Thu, Nov 6, 2008 at 15:15, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

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

   Juanma




  reply	other threads:[~2008-11-06 15:50 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 [this message]
2008-11-07  2:15         ` Stefan Monnier
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

  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=f7ccd24b0811060750u7a18c965p52fba2455fd0563@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --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 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).