From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer Date: Sat, 03 Sep 2011 14:53:22 +0300 Message-ID: <834o0t266l.fsf@gnu.org> References: <831uw0dukq.fsf@gnu.org> <4E6208FA.1030404@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315050821 27305 80.91.229.12 (3 Sep 2011 11:53:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2011 11:53:41 +0000 (UTC) Cc: 9419@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 03 13:53:37 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 1Qzon3-0001H2-AB for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Sep 2011 13:53:37 +0200 Original-Received: from localhost ([::1]:45744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qzon2-0004b0-SL for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Sep 2011 07:53:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qzon0-0004ak-0V for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2011 07:53:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qzomy-0003Ug-UL for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2011 07:53:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qzomy-0003UZ-Pn for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2011 07:53:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QzoqL-0001PU-S5; Sat, 03 Sep 2011 07:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2011 11:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9419 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9419-submit@debbugs.gnu.org id=B9419.13150510145407 (code B ref 9419); Sat, 03 Sep 2011 11:57:01 +0000 Original-Received: (at 9419) by debbugs.gnu.org; 3 Sep 2011 11:56:54 +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 1QzoqE-0001PA-EP for submit@debbugs.gnu.org; Sat, 03 Sep 2011 07:56:54 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QzoqB-0001P1-Mh for 9419@debbugs.gnu.org; Sat, 03 Sep 2011 07:56:53 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LQY00L003FCME00@a-mtaout21.012.net.il> for 9419@debbugs.gnu.org; Sat, 03 Sep 2011 14:53:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQY00L8O3OVBJ80@a-mtaout21.012.net.il>; Sat, 03 Sep 2011 14:53:20 +0300 (IDT) In-reply-to: <4E6208FA.1030404@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 03 Sep 2011 07:57:01 -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:50563 Archived-At: > Date: Sat, 03 Sep 2011 13:01:14 +0200 > From: martin rudalics > CC: Eli Zaretskii > > *Colors* was the buffer recorded in the quit-restore parameter. I > installed a fix in revision 105644 and closed the bug. Please check. Thanks. The original use case seems to work now, i.e. the frame is not deleted. The following also works, IIUC the intent: emacs -Q C-x 5 b foo RET C-x k RET This kills buffer foo and deletes the second frame. Is this the intended behavior? However, this use case looks inconsistent, or maybe I don't understand the intended behavior: emacs -Q C-x 5 b foo RET then in the new frame: C-x b bar RET C-x b foo RET C-x k RET (kills the foo buffer and shows bar) C-x k RET (kills the bar buffer and shows *scratch*) My understanding of the intended behavior is that since foo and bar are the only 2 buffers in that frame's buffer list, the frame should be deleted after the last one of them is deleted. But in fact the frame stays alive and shows *scratch*. If I kill the buffers in the reverse order, i.e. bar first and then foo, the frame does get deleted when foo is killed.