emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lost socket for detached Emacs, how to regain control?


From: Stefan Monnier
Subject: Re: Lost socket for detached Emacs, how to regain control?
Date: Thu, 06 Nov 2008 21:15:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]