From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer Date: Thu, 08 Sep 2011 09:02:00 +0200 Message-ID: <4E686868.1030502@gmx.at> References: <831uw0dukq.fsf@gnu.org> <4E6208FA.1030404@gmx.at> <834o0t266l.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315465402 16171 80.91.229.12 (8 Sep 2011 07:03:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2011 07:03:22 +0000 (UTC) Cc: 9419@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 09:03:18 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 1R1Ydp-00082V-N5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2011 09:03:17 +0200 Original-Received: from localhost ([::1]:41820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1Ydn-0001Fw-W4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2011 03:03:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1Ydf-000154-Mj for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 03:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1Yde-0003Pu-Oh for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 03:03:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1Yde-0003Pd-N4 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 03:03:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R1YhS-0001Vi-U2; Thu, 08 Sep 2011 03:07:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2011 07:07:02 +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.13154655685703 (code B ref 9419); Thu, 08 Sep 2011 07:07:02 +0000 Original-Received: (at 9419) by debbugs.gnu.org; 8 Sep 2011 07:06:08 +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 1R1YgX-0001Tt-Or for submit@debbugs.gnu.org; Thu, 08 Sep 2011 03:06:08 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1R1YgU-0001TT-1L for 9419@debbugs.gnu.org; Thu, 08 Sep 2011 03:06:03 -0400 Original-Received: (qmail invoked by alias); 08 Sep 2011 07:02:03 -0000 Original-Received: from 62-47-36-133.adsl.highway.telekom.at (EHLO [62.47.36.133]) [62.47.36.133] by mail.gmx.net (mp067) with SMTP; 08 Sep 2011 09:02:03 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/D13QAho/DP/ZIyAwsQiCjBv5NqaF2qmtjIRaKaO DxdTEUymLmNKHz User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <834o0t266l.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 08 Sep 2011 03:07: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:50702 Archived-At: > 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. I hopefully made these cases consistent now. In addition, the option `window-auto-delete' can be used to tune down auto-deletion if wanted. martin