From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Berndl, Klaus" Newsgroups: gmane.emacs.devel Subject: AW: delete-selection-mode Date: Thu, 18 Mar 2010 18:53:46 +0100 Message-ID: <7697A57B1AD9104F993CDF6A5B69430C0A74396CD7@CORPMAIL08.corp.capgemini.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="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1268935409 13888 80.91.229.12 (18 Mar 2010 18:03:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 18:03:29 +0000 (UTC) Cc: "cyd@stupidchicken.com" , "emacs-devel@gnu.org" , "juri@jurta.org" , "dann@ics.uci.edu" , Stefan Monnier , "acm@muc.de" To: Lennart Borgman , "rms@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 19:03:22 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 1NsK40-0002jR-Nt for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 19:03:21 +0100 Original-Received: from localhost ([127.0.0.1]:38347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsK40-0001Iv-7m for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 14:03:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsJvA-0006I1-Sm for emacs-devel@gnu.org; Thu, 18 Mar 2010 13:54:13 -0400 Original-Received: from [140.186.70.92] (port=43227 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsJv9-0006Ft-Fj for emacs-devel@gnu.org; Thu, 18 Mar 2010 13:54:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsJv3-0002BA-Qq for emacs-devel@gnu.org; Thu, 18 Mar 2010 13:54:11 -0400 Original-Received: from spfdefra01.capgemini.com ([194.11.253.100]:11382) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsJv1-0002Ag-FO; Thu, 18 Mar 2010 13:54:03 -0400 X-IronPort-AV: E=Sophos;i="4.51,268,1267398000"; d="scan'208";a="273108426" Original-Received: from unknown (HELO corpmx13.corp.capgemini.com) ([205.223.229.59]) by IRDEFRA-C650-01-D2-incoming.capgemini.com with ESMTP/TLS/RC4-MD5; 18 Mar 2010 18:54:00 +0100 Original-Received: from CORPMAIL08.corp.capgemini.com ([205.223.229.25]) by CORPMX13 ([205.223.229.59]) with mapi; Thu, 18 Mar 2010 18:53:47 +0100 Thread-Topic: delete-selection-mode Thread-Index: AcrGwIKla5Ckj9V3Ssqo8MadelaNYgAAdulA In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US 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:122189 Archived-At: On Thu, Mar 18, 2010 at 5:37 PM, Richard Stallman wrote: >>> =A0 =A0It does have many more effects. =A0The most significant one is t= hat any >>> =A0 =A0self-inserting key typed when the region is active will cause th= e region >>> =A0 =A0to be deleted before the char is inserted. > >> Is this true even when the region has been activated by keyboard command= s? >> If so, perhaps it is a bug. =A0Perhaps the feature should only apply whe= n >> you make the region using the mouse. >I think it would be a very bad idea to introduce an invisible state >this way. (I agree with Klaus here - if I do not misunderstand him.) You have understood right. It should not matter if the selection has been made by mouse or keyboard. This yould be very inconsistant and even more co= nfusing. I intentionally write "selection" and not "region" because what i have i mi= nd is the concept that a user can highlight some text and then can do something w= ith it. Because this is named a selection in all other apps i name it also selectio= n. Probably t-m-m active is the equivalent in emacs. I write "probably" becaus= e currently there are too many confusing screws for this and similar toics: there is t-= m-m, there is d-s-m, there is cua-mode, there is mouse-region-delete-keys and pr= obably some other i have never heard... 1. Emacs should support exactly this "selection" conxept in exactly that wa= y all other apps does 2. This should be the default behavior 3. There should as few as possible screws to modify the behavior - currentl= y there are too many and i assume some of them are not really disjunct but somehow overl= apping.