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 12:24:21 -0700 Message-ID: References: <8739t77xjp.fsf@lola.goethe.zz> 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 1284838807 13732 80.91.229.12 (18 Sep 2010 19:40:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 19:40:07 +0000 (UTC) To: "'David Kastrup'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 21:40:05 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 1Ox3GU-0001f6-MI for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 21:40:02 +0200 Original-Received: from localhost ([127.0.0.1]:43885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ox32g-0001pt-Qc for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 15:25:46 -0400 Original-Received: from [140.186.70.92] (port=38286 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ox32a-0001mX-1P for emacs-devel@gnu.org; Sat, 18 Sep 2010 15:25:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ox32Q-0000um-JK for emacs-devel@gnu.org; Sat, 18 Sep 2010 15:25:31 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:34232) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ox32Q-0000uU-ES; Sat, 18 Sep 2010 15:25:30 -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 o8IJPRhT021539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 18 Sep 2010 19:25:29 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8IGdK2D028021; Sat, 18 Sep 2010 19:25:27 GMT Original-Received: from abhmt014.oracle.com by acsmt353.oracle.com with ESMTP id 609945081284837814; Sat, 18 Sep 2010 12:23:34 -0700 Original-Received: from dradamslap1 (/10.159.218.112) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 18 Sep 2010 12:23:34 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActXW1kt5/IZ8VL7QTeTfwjWJlY2OwACra+g In-Reply-To: <8739t77xjp.fsf@lola.goethe.zz> 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:130446 Archived-At: > If the region has been selected moving backwards, it would appear > natural to have DEL/C-d delete the region. If you want the direction to come into play here, then I would think you would be proposing this for C-d (only) when the region is selected backwards and DEL (only) when selected forwards. Yes, one could argue that that is natural in some sense. But having DEL delete in both directions is inconsistent with wanting C-d to be directional. > It is probably too clever to let DEL/C-d/Backspace not delete > the active region only if it "faces the other way". Though it > would likely cure Miles' problem. FWIW, in Windows both DEL (Backspace) and (Delete) delete the active selection, but C-d does lots of different things depending on the context (it is more likely to delete some other object - e.g. an entire mail message or application window).