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: Fri, 07 Nov 2008 09:39:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> Maybe it would be feasible to add a recovery mechanism for such a
>>> case, like binding [sigusr1] to server-start?
>> That would be easy to do, indeed.  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.
> Or both? The server process or socket could be non-functional for other
> reasons.

If you want.  I don't find the feature of "sigusr1 causes
server-restart" very useful, since in the rare remaining cases where the
problem may happen, you may as well kill the server process altogether
and start a new one.  But I wouldn't care to oppose it either.


        Stefan





reply via email to

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