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: AW: delete-selection-mode Date: Wed, 17 Mar 2010 19:01:24 -0400 Message-ID: <874oke4kor.fsf@stupidchicken.com> References: <87ocitw2dl.fsf@stupidchicken.com> <201003130001.o2D01FFQ003489@godzilla.ics.uci.edu> <87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org> <874okf8dep.fsf@lola.goethe.zz> <7697A57B1AD9104F993CDF6A5B69430C0A70E50872@CORPMAIL08.corp.capgemini.com> <4BA0CDF9.40707@online.de> <76682E4761EA432EB929E5E199B0F92A@us.oracle.com> <87wrxb57e1.fsf@lola.goethe.zz> <87sk7z571u.fsf@lola.goethe.zz> <81674B067AF84670A2EDDB0178E0C0CC@us.oracle.com> <877hpa68ys.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268866917 19464 80.91.229.12 (17 Mar 2010 23:01:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Mar 2010 23:01:57 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 00:01:53 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 1Ns2FM-0004e7-Mh for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 00:01:52 +0100 Original-Received: from localhost ([127.0.0.1]:32780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns2FM-0004n7-8E for ged-emacs-devel@m.gmane.org; Wed, 17 Mar 2010 19:01:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns2Ez-0004JQ-4U for emacs-devel@gnu.org; Wed, 17 Mar 2010 19:01:29 -0400 Original-Received: from [140.186.70.92] (port=45573 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns2Ex-0004Gy-Kg for emacs-devel@gnu.org; Wed, 17 Mar 2010 19:01:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ns2Ew-0003TL-5R for emacs-devel@gnu.org; Wed, 17 Mar 2010 19:01:27 -0400 Original-Received: from pantheon-po33.its.yale.edu ([130.132.50.94]:39261) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns2Ew-0003TB-3Z; Wed, 17 Mar 2010 19:01:26 -0400 Original-Received: from furry (dhcp128036014175.central.yale.edu [128.36.14.175]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o2HN1OCK030994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Mar 2010 19:01:24 -0400 Original-Received: by furry (Postfix, from userid 1000) id 41FA4C011; Wed, 17 Mar 2010 19:01:24 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 17 Mar 2010 16:46:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.94 (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:122121 Archived-At: I use delete-selection mode, but mainly for one reason: I want DEL to delete the region when it's active. This argument >> You can set the mark, move somewhere else, type stuff there, and return >> using C-x C-x, again typing stuff there, without destroying anything you >> have written. sounds reasonable, since it's not a priori obvious (apart from the behavior of other applications) that self-inserting characters should "operate on the region". That's why I am not sure about making delete-selection-mode the default. However, I do feel that the "DEL acts on the region" part of delete-selection-mode is strongly intuitive.