From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#9674: 24.0.90; Closing an emacsclient frame always kills daemon Date: Wed, 05 Oct 2011 17:45:50 -0400 Message-ID: <87ehyr3yep.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317851230 4513 80.91.229.12 (5 Oct 2011 21:47:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 21:47:10 +0000 (UTC) Cc: 9674@debbugs.gnu.org To: Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 23:47:02 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBZIs-00054R-ED for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 23:47:02 +0200 Original-Received: from localhost ([::1]:40509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZIr-0002py-TW for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 17:47:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZIp-0002ps-5r for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 17:47:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBZIo-0004mH-2O for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 17:46:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZIn-0004mD-Vt for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 17:46:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBZIs-0001eI-1e for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 17:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2011 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9674-submit@debbugs.gnu.org id=B9674.13178511636265 (code B ref 9674); Wed, 05 Oct 2011 21:47:02 +0000 Original-Received: (at 9674) by debbugs.gnu.org; 5 Oct 2011 21:46:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBZHu-0001d0-TB for submit@debbugs.gnu.org; Wed, 05 Oct 2011 17:46:03 -0400 Original-Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBZHs-0001cX-V1 for 9674@debbugs.gnu.org; Wed, 05 Oct 2011 17:46:01 -0400 Original-Received: from furball (dhcp-128-36-14-81.central.yale.edu [128.36.14.81]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p95LjoLZ015463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 5 Oct 2011 17:45:50 -0400 In-Reply-To: (Damien Cassou's message of "Wed, 5 Oct 2011 14:24:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Oct 2011 17:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52235 Archived-At: Damien Cassou writes: > I open emacs with the following: > > emacsclient --alternate-editor="" -c ~/.bashrc > > According to the manual, it creates a daemon if none is running and > then creates a client by connecting to this daemon. I confirm this > behavior by looking at the running processes: I have one process for > emacsclient and one for emacs --daemon. However, as soon as I close > the last running emacsclient (with C-x C-c or C-x #), the daemon is > also terminated. FWIW, I can't reproduce this (with a GTK build). After typing C-x # or C-x C-c, the server is not killed; a subsequent invocation of emacsclient (via "emacsclient -c ~/.bashrc") accesses the server as expected.