From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: C-d deleting region considered harmful Date: Mon, 20 Sep 2010 12:11:07 -0400 Message-ID: <87fwx4e6p0.fsf@stupidchicken.com> References: <87eicrx1ls.fsf@catnip.gol.com> <87bp7ux3ec.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284999403 21048 80.91.229.12 (20 Sep 2010 16:16:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2010 16:16:43 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 20 18:16:42 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxj2n-00082I-PB for ged-emacs-devel@m.gmane.org; Mon, 20 Sep 2010 18:16:42 +0200 Original-Received: from localhost ([127.0.0.1]:39008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oxj2m-0003Gq-MH for ged-emacs-devel@m.gmane.org; Mon, 20 Sep 2010 12:16:40 -0400 Original-Received: from [140.186.70.92] (port=42709 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oxj1x-0002bj-IK for emacs-devel@gnu.org; Mon, 20 Sep 2010 12:15:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxixT-0002St-Dr for emacs-devel@gnu.org; Mon, 20 Sep 2010 12:11:12 -0400 Original-Received: from pantheon-po24.its.yale.edu ([130.132.50.118]:52073) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxixS-0002SA-1O; Mon, 20 Sep 2010 12:11:10 -0400 Original-Received: from furry (dhcp128036014154.central.yale.edu [128.36.14.154]) (authenticated bits=0) by pantheon-po24.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o8KGB8sV026153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Sep 2010 12:11:08 -0400 Original-Received: by furry (Postfix, from userid 1000) id D0F8DC018; Mon, 20 Sep 2010 12:11:07 -0400 (EDT) In-Reply-To: <87bp7ux3ec.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 18 Sep 2010 15:22:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130540 Archived-At: Chong Yidong writes: > Stefan Monnier writes: > >> I don't know what was Chong's motivation for it, but one reason is >> that the `delete' key is often remapped to C-d. > > Indeed. I suppose we could get away with mapping C-d to delete-char and > [delete] to delete-forward-char. The main disadvantage would be the > breaking of the equivalence of C-d and DEL. It is also worth noting that one of the motivations for making deletion characters act on the region was to eliminate mouse-region-delete-keys, and hence to avoid treating "regions made with the mouse" as a special case. [delete] was in mouse-region-delete-keys, but not C-d. So, if C-d deleting the active region is especially bothersome, I think it is OK to decouple [delete] and C-d.