From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: delete-selection-mode Date: Thu, 18 Mar 2010 10:06:32 -0700 Message-ID: <9A6E8EEC9CC64B72AED8182CFE9309AF@us.oracle.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268934007 8442 80.91.229.12 (18 Mar 2010 17:40:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 17:40:07 +0000 (UTC) Cc: 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 18:39:59 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 1NsJhM-00051W-06 for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 18:39:57 +0100 Original-Received: from localhost ([127.0.0.1]:37290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsJhI-0006ua-Ge for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 13:39:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsJBY-0002BH-7M for emacs-devel@gnu.org; Thu, 18 Mar 2010 13:07:04 -0400 Original-Received: from [140.186.70.92] (port=48909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsJBW-00029g-D5 for emacs-devel@gnu.org; Thu, 18 Mar 2010 13:07:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsJBU-00054y-Vs for emacs-devel@gnu.org; Thu, 18 Mar 2010 13:07:02 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:23804) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsJBQ-00053I-15; Thu, 18 Mar 2010 13:06:56 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2IH6ofg007331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Mar 2010 17:06:51 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2IGDC9b027815; Thu, 18 Mar 2010 17:06:49 GMT Original-Received: from abhmt006.oracle.com by acsmt353.oracle.com with ESMTP id 97393481268931993; Thu, 18 Mar 2010 10:06:33 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Mar 2010 10:06:32 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrGPR1HlXSP0UXkTRe3IHDZ2VZiCQAcTbZw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4BA25DAA.007E:SCFMA4539814,ss=1,fgs=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:122180 Archived-At: > From: Stefan Monnier > 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. Good summary, IMO. > From: Juri Linkov > There is a simple principle wrt t-t-m: when the region is active then > keys change their usual meaning. With delete-selection-mode this > includes and other self-inserting keys in addition to > existing keys that already have a special meaning in t-m-m. Another good summary. If a user doesn't want the advantages and disadvantages of an active region, and just wants to use the mark and the region as they were before the concept of an active region, then s?he might as well turn off t-m-mode. If a user wants an active region (with of course a way to deactivate it), then d-s-mode makes the most sense. There is not a lot of use for an active region without the behavior of auto-replace provided by d-s-mode. IMO.