From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.devel Subject: Re: save-buffers-kill-terminal and emacsclient --no-wait Date: Wed, 31 Dec 2008 11:06:49 +0100 (CET) Message-ID: <20081231.110649.28891280.toto@withouthat.org> References: <18779.16263.37052.907240@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp-2 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230718042 18821 80.91.229.12 (31 Dec 2008 10:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 10:07:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: ulm@gentoo.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 31 11:08:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHy04-00056S-PI for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2008 11:08:29 +0100 Original-Received: from localhost ([127.0.0.1]:43974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHxyr-0003lp-1e for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2008 05:07:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHxyl-0003ka-7b for emacs-devel@gnu.org; Wed, 31 Dec 2008 05:07:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHxyj-0003iU-2p for emacs-devel@gnu.org; Wed, 31 Dec 2008 05:07:06 -0500 Original-Received: from [199.232.76.173] (port=36351 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHxyi-0003iN-VU for emacs-devel@gnu.org; Wed, 31 Dec 2008 05:07:04 -0500 Original-Received: from h93074.serverkompetenz.net ([81.169.138.67]:55920) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHxyh-0007g5-Ca for emacs-devel@gnu.org; Wed, 31 Dec 2008 05:07:04 -0500 Original-Received: by h93074.serverkompetenz.net (Postfix, from userid 105) id 4E6B27241DE; Wed, 31 Dec 2008 11:06:58 +0100 (CET) Original-Received: from herrrossi (p5B3961C9.dip.t-dialin.net [91.57.97.201]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h93074.serverkompetenz.net (Postfix) with ESMTP id B50CE7241DD; Wed, 31 Dec 2008 11:06:51 +0100 (CET) Original-Received: from localhost ([127.0.0.1] ident=toto) by herrrossi with esmtp (Exim 4.69) (envelope-from ) id 1LHxyV-0005N6-2i; Wed, 31 Dec 2008 11:06:51 +0100 In-Reply-To: <18779.16263.37052.907240@a1ihome1.kph.uni-mainz.de> X-Face: ,i\0yx1|cRm0qV.lmJ%Z(_0e-.@or]1; 7lZof/?"lf; yH3U0}^Fl+-=1/VPQ8u2aW-k_q3V +YG_z3tmNc,QQg=F`wZg9ZufzHu/CJ?(sz5h>5@5juZnD'V/Jxe#$B<{ X-Mailer: Mew version 5.2 on Emacs 23.0.60 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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 Xref: news.gmane.org gmane.emacs.devel:107452 Archived-At: >>>>> "Ulrich" == Ulrich Mueller writes: Ulrich> Hi, is the following a bug, or the intended behaviour: Ulrich> $ emacs --daemon $ emacsclient --create-frame --no-wait Ulrich> Now save-buffers-kill-terminal (bound to C-x C-c) in this frame does Ulrich> just nothing. Ulrich> I would expect it to do the following: Ulrich> - offer to save buffers Ulrich> - call delete-frame Not if you had read the manual ;-) It is the documented behaviour: If you type `C-x C-c' (`save-buffers-kill-terminal') in an Emacs frame created with `emacsclient', via the `-c' or `-t' options, Emacs deletes the frame instead of killing the Emacs process itself. On a text-only terminal frame created with the `-t' option, this returns control to the terminal. Emacs also marks all the server buffers for the client as finished, as though you had typed `C-x #' in all of them. When Emacs is started as a daemon, all frames are considered client frames, so `C-x C-c' will never kill Emacs. To kill the Emacs process, type `M-x kill-emacs'. (Quoted from "42.2 `emacsclient' Options") Ulrich> Ulrich Best wishes for the new year and all that ... Toto -- Contact information and PGP key at http://www.withouthat.org/~toto/contact.html ...wir sind Deserteure! Kein Land auf das ich schw$(D+S(Bre. Wolf Mahn und die Deserteure