From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#12311: (special-mode-map): Delete binding for `z'. Date: Sun, 02 Sep 2012 01:19:52 -0400 Organization: disorganization Message-ID: <87fw712e87.fsf__1659.54782064563$1346563247$gmane$org@gnu.org> References: <87oblp2nfr.fsf@gnu.org> <363C856A8EDB4545897D760AD952E828@us.oracle.com> Reply-To: 12311@debbugs.gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346563244 4584 80.91.229.3 (2 Sep 2012 05:20:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 05:20:44 +0000 (UTC) Cc: 12311@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 07:20:46 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 1T82c0-0005OM-9C for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2012 07:20:44 +0200 Original-Received: from localhost ([::1]:47433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T82bx-0003nf-Mc for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2012 01:20:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T82bv-0003nW-HA for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 01:20:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T82bt-0003pz-TE for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 01:20:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T82bt-0003pv-Nn for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 01:20:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T82dG-0007As-7m for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 01:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Sep 2012 05:22:02 +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.134656328827538 (code B ref 12311); Sun, 02 Sep 2012 05:22:02 +0000 Original-Received: (at 12311) by debbugs.gnu.org; 2 Sep 2012 05:21:28 +0000 Original-Received: from localhost ([127.0.0.1]:33691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T82cg-0007A5-Pm for submit@debbugs.gnu.org; Sun, 02 Sep 2012 01:21:28 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:49013) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T82ce-00079x-9r for 12311@debbugs.gnu.org; Sun, 02 Sep 2012 01:21:26 -0400 Original-Received: by pbbrr4 with SMTP id rr4so6647073pbb.3 for <12311@debbugs.gnu.org>; Sat, 01 Sep 2012 22:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:newsgroups:to:cc:subject:organization:references :user-agent:mail-followup-to:return-receipt-to:reply-to :x-attribution:x-disclaimer:date:message-id:cancel-lock:in-reply-to :mime-version:content-type:posted-to; bh=fsRa+GWm9I9npu++8haqt8IlLP+a4tVWcn4Y+CI5jQI=; b=INdp5ZdXFmHBHFTZ6xnBQ0+SUbLOGLRSx9GhN0bmMUwKauN8cLoJ75o3twQN6NXJMX oNHnJjlq2Gog5Avr2NUxvdC/6NFMabRUuN1YcYRhZh5gxpea0SjV+pfMQZhhFClXRDWD cKhvlD7dIQHMvK7T3agjIAiS7ohexnRaETV93G4VUD1WEDQCRNaCGDLUvgAw9GOz6Z4Q YcYBuM75HzPjjx3WNZGiaNmd1l+8RyO2j4Tmyq/oKDDqJTwPYDusNbQtBrLgNhYFJUah j/9XhawDwCYEDxiVpjVB0gKzIijnZTH4YUGLdxqzDfeIp0pOdKw3zU0yCqytkPq5vI0h vkCA== Original-Received: by 10.68.204.169 with SMTP id kz9mr901693pbc.39.1346563198518; Sat, 01 Sep 2012 22:19:58 -0700 (PDT) Original-Received: from t520sds (ool-43501bc4.dyn.optonline.net. [67.80.27.196]) by mx.google.com with ESMTPS id to6sm7054494pbc.12.2012.09.01.22.19.56 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Sep 2012 22:19:57 -0700 (PDT) Original-Newsgroups: gmane.emacs.devel User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Mail-Followup-To: 12311@debbugs.gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:ixE/3IWciru2xKhmNZ4fOKEdm+U= In-Reply-To: <363C856A8EDB4545897D760AD952E828@us.oracle.com> (Drew Adams's message of "Sat, 1 Sep 2012 19:38:28 -0700") Posted-To: gmane.emacs.devel 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:63668 Archived-At: The following message is a courtesy copy of an article that has been posted to gmane.emacs.devel as well. > * Drew Adams [2012-09-01 19:38:28 -0700]: > >> I use this all the time in buffers like *Help*, > > Why bother to kill *Help*? Why do that rather than `q'? because 'q' will eventually start showing old *Help* buffers. because 'q' deletes the window which I want to keep. >> *Dired* &c. What am I supposed to use instead? C-u q? > > Sure, why not? Or `q' if you don't need to kill it. because C-u q is two keystrokes; quite often I keep hitting 'z' until I get to a buffer where z self-inserts. > Or `C-x v' if you want to replace it. C-x v is the vc prefix for me. > You want to kill Dired but you don't want to use `C-u q'. > OK, so bind `z' to killing once again if you want to. the question is whether this is a generally useful binding. I think it is. > Or is it about other special-mode buffers? That's the useful question, to me. > I would say forget about *Help* (which doesn't need to be killed) and Dired > (which you sometimes don't want to kill). > > But are there special-mode buffers where `z' killing the buffer is really > useful? If so, then maybe the fix was too heavy-handed. 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. >> How is a ding more valuable than a useful behavior? > > Killing the buffer is not the only or the most useful behavior `z' > could have in Dired. Dired is a rich mode with lots of keys already > taken and with plenty of commands that could be bound to keys. So bind it in dired mode. The change affects all the other special modes! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://dhimmi.com http://truepeace.org http://think-israel.org http://pmw.org.il http://mideasttruth.com Do the arithmetic or be doomed to talk nonsense. --John McCarthy