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: delete-selection-mode Date: Wed, 17 Mar 2010 21:48:20 -0400 Message-ID: References: <87ocitw2dl.fsf@stupidchicken.com> <201003130001.o2D01FFQ003489@godzilla.ics.uci.edu> <87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org> <20100317143519.GB4381@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268876919 13826 80.91.229.12 (18 Mar 2010 01:48:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 01:48:39 +0000 (UTC) Cc: cyd@stupidchicken.com, Lennart Borgman , emacs-devel@gnu.org, juri@jurta.org, dann@ics.uci.edu, acm@muc.de To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 02:48:34 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 1Ns4qf-0006bE-3r for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 02:48:33 +0100 Original-Received: from localhost ([127.0.0.1]:46617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns4qc-0008Ec-EW for ged-emacs-devel@m.gmane.org; Wed, 17 Mar 2010 21:48:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns4qX-0008Cc-7w for emacs-devel@gnu.org; Wed, 17 Mar 2010 21:48:25 -0400 Original-Received: from [140.186.70.92] (port=42847 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns4qV-00089s-RF for emacs-devel@gnu.org; Wed, 17 Mar 2010 21:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ns4qT-0000Q5-Rg for emacs-devel@gnu.org; Wed, 17 Mar 2010 21:48:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:9201 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns4qT-0000Q1-M0; Wed, 17 Mar 2010 21:48:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGsjoUtFpZMX/2dsb2JhbACbJXS4Y4R2BIsV X-IronPort-AV: E=Sophos;i="4.51,262,1267419600"; d="scan'208";a="58480704" Original-Received: from 69-165-147-23.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.23]) by ironport2-out.pppoe.ca with ESMTP; 17 Mar 2010 21:48:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AC68580C4; Wed, 17 Mar 2010 21:48:20 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Wed, 17 Mar 2010 20:42:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:122129 Archived-At: > If delete-selection-mode affects only what DEL does after a > mouse-selection, then it should have no effect on editing in the > normal Emacs way with keyboard commands. Perhaps there is no > particular reason to do, here, anything other than what beginning > users ask for. It does have many more effects. The most significant one is that any self-inserting key typed when the region is active will cause the region to be deleted before the char is inserted. 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. I think delete-selection-mode makes sense, FWIW, but I can also see that it might annoy some users, although these should pretty much only be the users who don't like t-m-m but don't hate it enough to go through the trouble of turning it off. Not sure how many of them might be out there. Stefan