From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#461: delete-window means "get out of my face" even for sole window Date: Sat, 21 Jun 2008 20:58:08 -0400 Message-ID: References: <87k5gj5e5t.fsf@jidanni.org> Reply-To: Stefan Monnier , 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 1214096853 4191 80.91.229.12 (22 Jun 2008 01:07:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 01:07:33 +0000 (UTC) Cc: 461@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 22 03:08:17 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 1KAE41-0006nH-8V for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jun 2008 03:08:17 +0200 Original-Received: from localhost ([127.0.0.1]:42887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAE3C-0007sy-1p for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2008 21:07:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAE30-0007q0-02 for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 21:07:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAE2y-0007pR-Sr for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 21:07:13 -0400 Original-Received: from [199.232.76.173] (port=51989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAE2y-0007pJ-L9 for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 21:07:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55262) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAE2y-0003Ef-77 for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 21: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 m5M179LG008007; Sat, 21 Jun 2008 18:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5M155CR006959; Sat, 21 Jun 2008 18:05:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@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: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12140962994866 (code B ref -1); Sun, 22 Jun 2008 01:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jun 2008 00:58:19 +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 m5M0wFYB004855 for ; Sat, 21 Jun 2008 17:58:16 -0700 Original-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 Original-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 Original-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 Original-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" Original-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 Original-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 Original-Received: by pastel.home (Postfix, from userid 20848) id E823683BA; Sat, 21 Jun 2008 20:58:08 -0400 (EDT) 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) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Jun 2008 21:07:13 -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:18492 Archived-At: 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