From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#461: delete-window means "get out of my face" even for sole window Date: Sat, 21 Jun 2008 17:29:50 +0800 Message-ID: <87k5gj5e5t.fsf@jidanni.org> Reply-To: jidanni@jidanni.org, 461@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214093255 30193 80.91.229.12 (22 Jun 2008 00:07:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 00:07:35 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 22 02:08:20 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAD7z-0004W5-EQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jun 2008 02:08:19 +0200 Original-Received: from localhost ([127.0.0.1]:37644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAD7A-0007ay-HK for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2008 20:07:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAD6x-0007Wo-4j for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:07:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAD6v-0007WE-De for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:07:14 -0400 Original-Received: from [199.232.76.173] (port=44496 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAD6v-0007W1-8c for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:07:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36040) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAD6u-00031q-He for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:07:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5M079K6025638; Sat, 21 Jun 2008 17:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5M0554J024604; Sat, 21 Jun 2008 17:05:05 -0700 X-Loop: don@donarmstrong.com Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 22 Jun 2008 00:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 461 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121409277522522 (code B ref -1); Sun, 22 Jun 2008 00:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 21 Jun 2008 23:59:35 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5LNxWgU022513 for ; Sat, 21 Jun 2008 16:59:33 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KACzT-0004Tl-Tj for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 19:59:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KACzT-0004TF-Fg for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 19:59:31 -0400 Original-Received: from [199.232.76.173] (port=50605 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KACzT-0004T9-Am for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 19:59:31 -0400 Original-Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:37375 helo=blingymail-a3.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KACzS-0000oW-T1 for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 19:59:31 -0400 Original-Received: from jidanni2.jidanni.org (122-127-38-198.dynamic.hinet.net [122.127.38.198]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a3.g.dreamhost.com (Postfix) with ESMTP id 6FF7714D77E for ; Sat, 21 Jun 2008 16:59:28 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Jun 2008 20:07:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18490 Archived-At: Ah, why of course: C-x 0 (delete-window) issued when there is only one window, should reveal the next best buffer. Why? Because when the user types C-x 0, he is saying "get out of my face", and emacs should do what he means. Indeed, it should be just like he hit C-x b RET, picking the default buffer prompted with. (I say don't prompt him on C-x 0, but you could if you insist.) And don't bury the old buffer, just move it one down in the list. Currently C-x 0 gives "Attempt to delete minibuffer or sole ordinary window" I am only discussing "sole ordinary window". As far as deleting the minibuffer, that should still be illegal.