|
From: | Stefan Monnier |
Subject: | Re: Lost socket for detached Emacs, how to regain control? |
Date: | Wed, 05 Nov 2008 20:31:47 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Consider the following scenario: > - emacs --daemon is running in the background without any open frame > - server-start is also called in another Emacs process > Now there is no more way to connect to the detached Emacs. (Or am I > missing something?) > 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. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |