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: Fri, 19 Mar 2010 06:25:06 +0900 Message-ID: <874okdfhl9.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> <87vdcui6oh.fsf@uwakimon.sk.tsukuba.ac.jp> <20100318101223.GB2704@muc.de> <87ocil3edy.fsf@home.jasonrumney.net> <87fx3xzokg.fsf@lola.goethe.zz> <87eijhic9f.fsf@mail.jurta.org> 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 1268947529 28360 80.91.229.12 (18 Mar 2010 21:25:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 21:25:29 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 22:25:24 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 1NsNDY-0005jL-4Y for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 22:25:24 +0100 Original-Received: from localhost ([127.0.0.1]:40275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsNDX-00011F-ET for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 17:25:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsNDO-0000wG-2I for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:25:14 -0400 Original-Received: from [140.186.70.92] (port=45984 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsNDM-0000uF-G8 for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:25:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsNDL-000118-GT for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:25:12 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:56905) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsNDJ-00010O-3d; Thu, 18 Mar 2010 17:25:09 -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 1NsNDH-0001H4-AM; Fri, 19 Mar 2010 06:25:07 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id B59AB2BD52; Fri, 19 Mar 2010 06:25:06 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <87eijhic9f.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 18 Mar 2010 22:51:56 +0200") Original-Lines: 29 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:122220 Archived-At: Juri Linkov writes: >>> So do fringes, toolbars, menus, scrollbars, the splash screen, syntax >>> highlighting and almost every other change we've made to Emacs over >>> the years. >> >> None of them destroy your text given the same keystrokes. > > You can accidentally type C-w and destroy your text. They are very different cases: Hitting C-w when you didn't intend to is a relatively uncommon occurrence. When you _do_ intend to hit C-w, because the command is inherently associated with the region, you're _much_ more likely to be aware of the state of the region. Accidentally deleting text because of an inadvertently selected (often very small) region, on the other hand, is quite easy to do. The problem here is that the very very common case of inserting text does _not_ (normally) depend on the region, so it's very easy for a user to start typing without being aware of the region's state. [The reason I know about this annoying issue with "type to delete", BTW, is because it regularly happens to me (not in Emacs, obviously!] -Miles -- .Numeric stability is probably not all that important when you're guessing.