From unknown Fri Jun 20 07:13:57 2025 X-Loop: don@donarmstrong.com Subject: bug#461: delete-window means "get out of my face" even for sole window Reply-To: jidanni@jidanni.org, 461@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121409277522522 (code B ref -1); Sun, 22 Jun 2008 00:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00, DATE_IN_PAST_12_24,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Jun 2008 23:59:35 +0000 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 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 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 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 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 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) To: bug-gnu-emacs@gnu.org From: jidanni@jidanni.org Date: Sat, 21 Jun 2008 17:29:50 +0800 Message-ID: <87k5gj5e5t.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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. From unknown Fri Jun 20 07:13:57 2025 X-Loop: don@donarmstrong.com Subject: bug#461: delete-window means "get out of my face" even for sole window Reply-To: Stefan Monnier , 461@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 22 Jun 2008 01: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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12140962994866 (code B ref -1); Sun, 22 Jun 2008 01:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW,VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jun 2008 00:58:19 +0000 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 m5M0wFYB004855 for ; Sat, 21 Jun 2008 17:58:16 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KADuJ-00040l-4u for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:58:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KADuF-00040C-LZ for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:58:14 -0400 Received: from [199.232.76.173] (port=56227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KADuF-000409-Gr for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:58:11 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:64816 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KADuF-0000vI-2I for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 20:58:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMEAP8/XUjO+KWv/2dsb2JhbACBW6wh X-IronPort-AV: E=Sophos;i="4.27,684,1204520400"; d="scan'208";a="23061197" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 21 Jun 2008 20:58:09 -0400 Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id CGC21809; Sat, 21 Jun 2008 20:58:09 -0400 Received: by pastel.home (Postfix, from userid 20848) id E823683BA; Sat, 21 Jun 2008 20:58:08 -0400 (EDT) From: Stefan Monnier To: jidanni@jidanni.org Cc: 461@debbugs.gnu.org, bug-gnu-emacs@gnu.org Message-ID: References: <87k5gj5e5t.fsf@jidanni.org> Date: Sat, 21 Jun 2008 20:58:08 -0400 In-Reply-To: <87k5gj5e5t.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sat, 21 Jun 2008 17:29:50 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-CrossAssassin-Score: 2 tag 461 +wontfix thanks > 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.) There's already "C-x b RET", "C-x ", "C-x " and probably several other ways to do what you want, so I see no need to change C-x 0 in the way you suggest. C-x 0 currently doesn't care about buffers, only about windows, so your "extension" doesn't seem very natural to me. A more natural extension would be to indeed delete the sole window by exiting (or maybe sticking around waiting for emacsclient connections in case you've started the emacs-server). Stefan From unknown Fri Jun 20 07:13:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jidanni@jidanni.org Subject: bug#461: closed (Re: bug#461: delete-window means "get out of my face" even for sole window) Message-ID: References: <87k5gj5e5t.fsf@jidanni.org> X-Gnu-PR-Message: they-closed 461 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: wontfix Reply-To: 461@debbugs.gnu.org Date: Sat, 09 Jul 2011 18:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1310236442-2114-1" This is a multi-part message in MIME format... ------------=_1310236442-2114-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #461: delete-window means "get out of my face" even for sole window which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 461@debbugs.gnu.org. --=20 461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D461 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1310236442-2114-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 461-done) by debbugs.gnu.org; 9 Jul 2011 18:33:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfcKt-0000Ww-Uk for submit@debbugs.gnu.org; Sat, 09 Jul 2011 14:33:04 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfcKr-0000WS-R3 for 461-done@debbugs.gnu.org; Sat, 09 Jul 2011 14:33:02 -0400 Received: from localhost ([127.0.0.1]:35054) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfcKm-0005po-72; Sat, 09 Jul 2011 14:32:56 -0400 From: Glenn Morris To: 461-done@debbugs.gnu.org Subject: Re: bug#461: delete-window means "get out of my face" even for sole window References: <87k5gj5e5t.fsf@jidanni.org> X-Spook: Albright CID AUTODIN military Rand Corporation KGB threat X-Ran: :}JJ2d7KyjQSl^ (Stefan Monnier's message of "Sat, 21 Jun 2008 20:58:08 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 461-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) I don't see a need to keep open this particular report, which was marked "wontfix" some time ago. Stefan Monnier wrote: > There's already "C-x b RET", "C-x ", "C-x " and probably > several other ways to do what you want, so I see no need to change > C-x 0 in the way you suggest. > > C-x 0 currently doesn't care about buffers, only about windows, so your > "extension" doesn't seem very natural to me. ------------=_1310236442-2114-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From jidanni@jidanni.org Sat Jun 21 16:59:35 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00, DATE_IN_PAST_12_24,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Jun 2008 23:59:35 +0000 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 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 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 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 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 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) To: bug-gnu-emacs@gnu.org Subject: delete-window means "get out of my face" even for sole window From: jidanni@jidanni.org Date: Sat, 21 Jun 2008 17:29:50 +0800 Message-ID: <87k5gj5e5t.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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. ------------=_1310236442-2114-1--