[Top][All Lists]
[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 09:15:03 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> Another option is for server-start to try and detect that there's
>> already an active socket (using server-running-p) and refuse
>> to start.
> That would be useful even for local servers using TCP sockets, but
> server-running-p currently does work only for local sockets.
Indeed, for TCP sockets it would be useful as well, but it risks
suffering from a long timeout.
> The following is a simple way to at least know whether there's a
> process called Emacs with the same pid that is stored in the
> authentication file.
That's a good alternative, tho it should check somehow that the server
is supposed to run on the same machine.
Stefan
- Lost socket for detached Emacs, how to regain control?, Ulrich Mueller, 2008/11/04
- Re: Lost socket for detached Emacs, how to regain control?, Stefan Monnier, 2008/11/05
- Re: Lost socket for detached Emacs, how to regain control?, Juanma Barranquero, 2008/11/06
- Re: Lost socket for detached Emacs, how to regain control?,
Stefan Monnier <=
- Re: Lost socket for detached Emacs, how to regain control?, Juanma Barranquero, 2008/11/06
- Re: Lost socket for detached Emacs, how to regain control?, Stefan Monnier, 2008/11/06
- Re: Lost socket for detached Emacs, how to regain control?, Juanma Barranquero, 2008/11/07
Re: Lost socket for detached Emacs, how to regain control?, Ulrich Mueller, 2008/11/07