From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Possible bug when running with --daemon on 24.3.92.3? Date: Tue, 08 Jul 2014 17:30:46 +0900 Message-ID: <874mystfpl.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87bnt0qovn.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1404808304 16662 80.91.229.3 (8 Jul 2014 08:31:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2014 08:31:44 +0000 (UTC) Cc: emacs-devel To: Alexis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 08 10:31:37 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X4QoI-0000bH-GJ for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2014 10:31:34 +0200 Original-Received: from localhost ([::1]:54500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4QoI-0003iI-3V for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2014 04:31:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Qo8-0003g4-SW for emacs-devel@gnu.org; Tue, 08 Jul 2014 04:31:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4Qo1-0004Nd-B5 for emacs-devel@gnu.org; Tue, 08 Jul 2014 04:31:24 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:55960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Qo1-0004Jw-0p for emacs-devel@gnu.org; Tue, 08 Jul 2014 04:31:17 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 8D9613FA0B30; Tue, 8 Jul 2014 17:30:46 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 83161128860; Tue, 8 Jul 2014 17:30:46 +0900 (JST) In-Reply-To: <87bnt0qovn.fsf@gmail.com> X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172895 Archived-At: Alexis writes: > i've just compiled and installed 24.3.92.3 on 64-bit Debian Wheezy > (7.5). i start Emacs from URxvt with the `--daemon` option, and > then open a new frame with `emacsclient -c`. That works > fine. However, when i exit the client using C-x C-c, the server > process is shut down as well. You're not exiting the client; there is no client to exit. In principle, the client simply sends a message to the server to open a window for you, then exits. (I forget what can happen in case of a TTY client -- it may have to remain to keep a pipe open, but that's all it does. The principle is the same: you're editing in the server, not in the client.) I.e., C-x C-c is supposed to shut down the server process. You should be able to close the frame with C-x 5 0 or via the window manager.