From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Lost socket for detached Emacs, how to regain control? Date: Tue, 4 Nov 2008 16:32:01 +0100 Message-ID: <18704.27377.815630.316648@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225812944 3943 80.91.229.10 (4 Nov 2008 15:35:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 15:35:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 17:13:16 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward2.uio.no ([129.240.10.71]) by dough.gmane.org with esmtp (Exim 4.50) id 1KxOWp-0002J4-7j for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 17:13:15 +0100 Original-Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1KxNwM-0002cE-WC for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 16:35:35 +0100 Original-Received: from mail-mx6.uio.no ([129.240.10.47]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KxNwM-0002cB-Ut for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 16:35:34 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx6.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KxNwM-0003Se-9G for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 16:35:34 +0100 Original-Received: from localhost ([127.0.0.1]:39660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxNtD-0007uR-3y for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 10:32:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxNt7-0007tr-PY for emacs-devel@gnu.org; Tue, 04 Nov 2008 10:32:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxNt5-0007tK-DI for emacs-devel@gnu.org; Tue, 04 Nov 2008 10:32:13 -0500 Original-Received: from [199.232.76.173] (port=39195 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxNt5-0007tH-6W for emacs-devel@gnu.org; Tue, 04 Nov 2008 10:32:11 -0500 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:40063) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxNt4-0000mj-Rw for emacs-devel@gnu.org; Tue, 04 Nov 2008 10:32:11 -0500 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id mA4FW2Z2014912 for ; Tue, 4 Nov 2008 16:32:02 +0100 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id mA4FW2PU009428; Tue, 4 Nov 2008 16:32:02 +0100 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id mA4FW2t8009423; Tue, 4 Nov 2008 16:32:02 +0100 X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-UiO-SPF-Received: Received-SPF: pass (mail-mx6.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, MISSING_SUBJECT=0.001,NO_RECEIVED=-0.001,RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=NO) X-UiO-Scanned: C4854EC182C93133CF1756AF6122D95A80E2834D X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 200 minaction 2 bait 0 mail/h: 33 total 75965 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:105336 Archived-At: 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? Ulrich