From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#12311: (special-mode-map): Delete binding for `z'. Date: Mon, 03 Sep 2012 16:09:12 +0800 Message-ID: <87oblny1cn.fsf@gnu.org> References: <87oblp2nfr.fsf@gnu.org> <363C856A8EDB4545897D760AD952E828@us.oracle.com> <87fw712e87.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346659786 14510 80.91.229.3 (3 Sep 2012 08:09:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2012 08:09:46 +0000 (UTC) To: 12311@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 10:09:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T8Rj9-0005Oc-5b for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Sep 2012 10:09:47 +0200 Original-Received: from localhost ([::1]:53032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Rj6-00087L-EC for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Sep 2012 04:09:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Riy-000875-Rc for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 04:09:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Rit-00037B-0A for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 04:09:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Ris-000376-Sn for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 04:09:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T8RkL-00059A-RP for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 04:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Sep 2012 08:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12311-submit@debbugs.gnu.org id=B12311.134665985419771 (code B ref 12311); Mon, 03 Sep 2012 08:11:01 +0000 Original-Received: (at 12311) by debbugs.gnu.org; 3 Sep 2012 08:10:54 +0000 Original-Received: from localhost ([127.0.0.1]:35551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T8RkD-00058p-VS for submit@debbugs.gnu.org; Mon, 03 Sep 2012 04:10:54 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:39079) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T8RkA-00058h-UV for 12311@debbugs.gnu.org; Mon, 03 Sep 2012 04:10:51 -0400 Original-Received: by pbbrr4 with SMTP id rr4so7629625pbb.3 for <12311@debbugs.gnu.org>; Mon, 03 Sep 2012 01:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=82PIhoQv4XfiUp5W1MpQd8Q+fDfGjjt9NWRDLDPjkas=; b=uLRhLiGBLYHsfpR8h3UtY5pj0y0xmcWS2lenOZzvp/8FTemul+nieRgMz5Gm3SSvr6 6Dx6LdUs5gk0megcCoSR0CDkeamouSYkQMSNCdk6odoo5Tzis20maiYxeaPclZuxccB+ fheHZuZpGHn//sOfxmPplk52LSnHQD9zUIXUUx+zP6CdIYMKcmMlcysDPMKvAaD9DUwx Xeh/qVn61BiB6QBO8FjAhOj3JvW6K17YsIImVIOibHZ5EGHQB09/bivWO2FOzRpoWqSs 2E7WttD+/Py8jF4yVrqFmwx7REG2PF3hy7OZoOjrwpe3TZWg9IrUeuP/TN019XSQFxKD 18Lg== Original-Received: by 10.68.220.104 with SMTP id pv8mr35893697pbc.119.1346659758836; Mon, 03 Sep 2012 01:09:18 -0700 (PDT) Original-Received: from ulysses ([155.69.16.255]) by mx.google.com with ESMTPS id sv8sm3362986pbc.7.2012.09.03.01.09.15 (version=SSLv3 cipher=OTHER); Mon, 03 Sep 2012 01:09:17 -0700 (PDT) In-Reply-To: <87fw712e87.fsf@gnu.org> (Sam Steingold's message of "Sun, 02 Sep 2012 01:19:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63696 Archived-At: Sam Steingold writes: > because 'q' will eventually start showing old *Help* buffers. > because 'q' deletes the window which I want to keep. The first point seems irrelevant; `q' should only show old buffers if there is nothing better to show. As for the second, we could add a defcustom to prevent `quit-window' from deleting windows; would that be suitable for your usage? > I don't think special-mode buffers are "precious" - they are easily > restored, so killing them accidentally should not be a problem. > Apparently others disagree. One example of a special buffer which may be annoying to accidentally delete is a *Packages* buffer, whose contents are fetched over a network. Similarly with a non-DVCS VC-Dir buffer. But these are personal value judgements, a.k.a. bikeshedding. There are two simple solutions: (define-key special-mode-map "z" ...) or C-x k RET Emacs should strive to present a consistent user interface, so it's good for special buffers to share as many keybindings as possible, when it comes to basic operations like dismissal. That's why we've worked hard to make these buffers use `q' (`quit-window'). In that context, it's unacceptable to provide `z' for buffer-killing in some special buffers but not others, for such a fuzzy reason as "precious" vs "non-precious".