From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal for DEL to delete the active region Date: Mon, 03 May 2010 13:12:42 -0400 Message-ID: References: <87iq78uwyd.fsf@stupidchicken.com> <87y6g274pb.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272910920 23188 80.91.229.12 (3 May 2010 18:22:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 18:22:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 03 20:21:58 2010 connect(): No such file or directory 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 1O90GX-0004qY-J0 for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 20:21:58 +0200 Original-Received: from localhost ([127.0.0.1]:41166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8zW6-0004Yi-LB for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 13:33:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8zCL-0000P1-8u for emacs-devel@gnu.org; Mon, 03 May 2010 13:12:49 -0400 Original-Received: from [140.186.70.92] (port=41304 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8zCJ-0000OR-Qq for emacs-devel@gnu.org; Mon, 03 May 2010 13:12:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8zCH-00011I-Jy for emacs-devel@gnu.org; Mon, 03 May 2010 13:12:46 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:35126) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8zCH-000113-EU for emacs-devel@gnu.org; Mon, 03 May 2010 13:12:45 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o43HCgwI031427; Mon, 3 May 2010 13:12:42 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 3B3DDB4C27; Mon, 3 May 2010 13:12:42 -0400 (EDT) In-Reply-To: <87y6g274pb.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 02 May 2010 10:34:24 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3526=0 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:124477 Archived-At: > I count ten such commands, all variants of delete-char or > delete-backward-char. I think these should all obey the same two > variables. For instance, `c-electric-backspace' should obey > `delete-backward-char-delete-region', and `org-delete-char' should obey > `delete-char-delete-region'. My point is that we should go with a single option, like `delete-deletes-active-region'. > Good point. How about splitting up the functions, similar to next-line > vs forward-line? > So, we'd leave delete-backward-char unchanged, and create a new command > `delete-backward' which is the default binding for [DEL]. Similarly, a > new function `delete-forward', which is the default binding for > [delete]. Sounds fine for these functions. Don't know about the (org|c)-* commands, tho. Stefan