From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: C-d deleting region considered harmful Date: Sat, 18 Sep 2010 07:29:14 -0700 Message-ID: <62507B3FBB424D5A93DA513718A5ED0C@us.oracle.com> References: <87eicrx1ls.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284820197 6920 80.91.229.12 (18 Sep 2010 14:29:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 14:29:57 +0000 (UTC) To: "'Miles Bader'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 16:29:56 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 1OwyQN-0000ks-GL for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 16:29:55 +0200 Original-Received: from localhost ([127.0.0.1]:45289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwyQM-0000CW-3D for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 10:29:54 -0400 Original-Received: from [140.186.70.92] (port=49046 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwyQF-0000CD-Tw for emacs-devel@gnu.org; Sat, 18 Sep 2010 10:29:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwyQE-00048v-RU for emacs-devel@gnu.org; Sat, 18 Sep 2010 10:29:47 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:53392) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwyQC-00047r-JM; Sat, 18 Sep 2010 10:29:44 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8IETd6P010351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 18 Sep 2010 14:29:40 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8IDh1dk017667; Sat, 18 Sep 2010 14:29:38 GMT Original-Received: from abhmt012.oracle.com by acsmt355.oracle.com with ESMTP id 609741691284820107; Sat, 18 Sep 2010 07:28:27 -0700 Original-Received: from dradamslap1 (/10.159.218.112) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 18 Sep 2010 07:28:27 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActW08X9/IqqO0zOQHGYwif0rOuFXgAZj2mQ In-Reply-To: <87eicrx1ls.fsf@catnip.gol.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130401 Archived-At: > However, the effect of "C-d" deleting the active region has been > driving me nuts for quite a while. I accidentally end up deleting > something I didn't intend to about 10-15 times a day... usually I > notice and am annoyed but can immediately hit undo, but occasionally I > don't immediately notice, and end up being very very confused until I > reconstruct what happened. > > I thought I might get used to it after a while, but so far, despite > the frequency with which it happens, it's every bit as annoying as it > was when it first started happening. > > Is there any particular _reason_ for C-d to have this effect? C-d is > not a binding used by other platforms, so it has no obvious utility as > newb-bait, and it's no more convenient than C-w. It seems almost > entirely pointless. > > I propose removing this functionality from C-d. If mac/windows users > want to delete a region, they can use DEL (backspace). 100% agreement. This is truly a bad idea. C-d (and ) in Emacs should do what it always has done: delete the next char. [I did not realize that C-d had been changed this way, since I still don't use Emacs 24 (while waiting for the selection stuff and other bugs to die down). I see now that this was introduced in thread "Updated proposal for DEL to delete active region". I did not see that it was part of that proposal at the time. Most of the discussion there was about the commands and their names and mappings and other problems about breaking compatibility. This additional change slipped right by me. I wouldn't have missed it if C-d had been mentioned in the Subject line instead of DEL. DEL already deletes the active region in delete-selection mode (which I use), but for C-d to do that is a real change.] Please reverse this change. This is a terrible design decision.