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 08:05:20 -0700 Message-ID: References: <87eicrx1ls.fsf@catnip.gol.com> <83lj6zz9o0.fsf@gnu.org> 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 1284822298 14736 80.91.229.12 (18 Sep 2010 15:04:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 15:04:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Eli Zaretskii'" , "'Miles Bader'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 17:04:54 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 1OwyyE-0008Ob-9Q for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 17:04:54 +0200 Original-Received: from localhost ([127.0.0.1]:45408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwyyD-0001rZ-HE for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 11:04:53 -0400 Original-Received: from [140.186.70.92] (port=44048 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owyy7-0001qk-IT for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:04:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owyy5-0001XG-Oz for emacs-devel@gnu.org; Sat, 18 Sep 2010 11:04:46 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:55784) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owyy4-0001Ws-9J; Sat, 18 Sep 2010 11:04:44 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8IF4gK5016502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 18 Sep 2010 15:04:43 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8ICQn1E029939; Sat, 18 Sep 2010 15:04:42 GMT Original-Received: from abhmt002.oracle.com by acsmt355.oracle.com with ESMTP id 615671451284822273; Sat, 18 Sep 2010 08:04:33 -0700 Original-Received: from dradamslap1 (/10.159.218.112) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 18 Sep 2010 08:04:33 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActXE1AYMxBVK4qWS3yNjYuSJETy+wALw9Hw In-Reply-To: <83lj6zz9o0.fsf@gnu.org> 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:130411 Archived-At: > > I propose removing this functionality from C-d. If > > mac/windows users want to delete a region, they can use DEL (backspace). > > There's no DEL key on Windows, only , which is remapped to > C-d. Maybe the command should distinguish whether it was run by C-d > or , and behave differently wrt the active region. No. Both and C-d, whether mapped together or not, should do what they have always done in Emacs: delete the next char. Whether the region is active or not. > Deleting an active region with Backspace is a bad idea, IMO: that's > not how other apps behave, while this feature exists to be compatible > with other apps. Huh? That's how the Backspace key behaves in other apps on Windows, AFAICT. (Well, "active region" is only an Emacs thing, but for Windows the selection is deleted when you hit Backspace.)