From unknown Fri Jun 20 17:53:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#461 <461@debbugs.gnu.org> To: bug#461 <461@debbugs.gnu.org> Subject: Status: delete-window means "get out of my face" even for sole window Reply-To: bug#461 <461@debbugs.gnu.org> Date: Sat, 21 Jun 2025 00:53:53 +0000 retitle 461 delete-window means "get out of my face" even for sole window reassign 461 emacs submitter 461 jidanni@jidanni.org severity 461 wishlist tag 461 wontfix thanks 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. From monnier@iro.umontreal.ca Sat Jun 21 17:58:18 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=-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 Subject: Re: bug#461: delete-window means "get out of my face" even for sole window 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 rgm@gnu.org Fri Jun 27 17:17:39 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=-6.0 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 28 Jun 2008 00:17:40 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5S0Hb1m024032 for ; Fri, 27 Jun 2008 17:17:38 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KCO85-0007U1-IO; Fri, 27 Jun 2008 20:17:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18533.33557.516574.124701@fencepost.gnu.org> Date: Fri, 27 Jun 2008 20:17:25 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: AJR\"AER]FNaM[x['%!g^?@TYtXAi9\|z=c|.G.MtnxU-GcLGZmMtKnh;4iwX_czu6/`V& merge 481 482 tags 462 +wontfix tags 461 +wontfix From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 14:33:04 2011 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. From unknown Fri Jun 20 17:53:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Aug 2011 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator