From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Thu, 18 Mar 2010 11:57:53 +0900 Message-ID: <878w9qpc9a.fsf@catnip.gol.com> References: <87ocitw2dl.fsf@stupidchicken.com> <201003130001.o2D01FFQ003489@godzilla.ics.uci.edu> <87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org> <20100317143519.GB4381@muc.de> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268881092 23185 80.91.229.12 (18 Mar 2010 02:58:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 02:58:12 +0000 (UTC) Cc: rms@gnu.org, cyd@stupidchicken.com, Lennart Borgman , emacs-devel@gnu.org, juri@jurta.org, dann@ics.uci.edu, acm@muc.de To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 03:58:07 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 1Ns5vy-00005Z-PL for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 03:58:07 +0100 Original-Received: from localhost ([127.0.0.1]:48937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns5vy-0002dR-6K for ged-emacs-devel@m.gmane.org; Wed, 17 Mar 2010 22:58:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns5vt-0002dI-Oc for emacs-devel@gnu.org; Wed, 17 Mar 2010 22:58:01 -0400 Original-Received: from [140.186.70.92] (port=53160 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns5vr-0002by-Cr for emacs-devel@gnu.org; Wed, 17 Mar 2010 22:58:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ns5vp-0005wl-46 for emacs-devel@gnu.org; Wed, 17 Mar 2010 22:57:59 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:38778) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns5vo-0005we-QU; Wed, 17 Mar 2010 22:57:57 -0400 Original-Received: from 218.231.253.174.eo.eaccess.ne.jp ([218.231.253.174] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1Ns5vm-0007Eq-BI; Thu, 18 Mar 2010 11:57:54 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id B5F68DF23; Thu, 18 Mar 2010 11:57:53 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Stefan Monnier's message of "Wed, 17 Mar 2010 21:48:20 -0400") Original-Lines: 26 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com 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:122134 Archived-At: Stefan Monnier writes: > If the fact that the region is active at that point "is right" > (i.e. you indeed intended to highlight that region), then deleting it is > probably the right thing to do. > > But if the region is active by accident (e.g. the fact that it's > highlighted is something you grudgingly live with since t-m-m was made > the default), then you may get annoyed that merely inserting a char at > point ends up deleting all the text that happened to be highlighted. Yeah, and what's worse is if a _little_ text is inadvertently highlighted (say, a single comma or a space, because you accidentally dragged a little whwen you meant to click), and you don't actually notice it being deleted when you start typing... I'm burned by that regularly in other apps, to the point where I think "deletion upon typing" is a positively harmful feature. Viewed in isolation, it's "clever", but really offers nothing significant over just hitting DEL before typing. in a general context (i.e., not in a specialized context like a browser address bar). -Miles -- Faith, n. Belief without evidence in what is told by one who speaks without knowledge, of things without parallel.