From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Sun, 20 Apr 2008 22:28:41 +0200 Message-ID: <480BA779.2080507@gmail.com> References: <004a01c8a1a0$7215cdd0$0200a8c0@us.oracle.com> <878wz9btq8.fsf@jurta.org> <85fxthy4qp.fsf@lola.goethe.zz> <87hcdxz9zr.fsf_-_@jurta.org> <87ve2cfk9x.fsf@stupidchicken.com> <200804201931.m3KJVO4X008875@sallyv1.ics.uci.edu> <858wz8ux2w.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208723387 12547 80.91.229.12 (20 Apr 2008 20:29:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Apr 2008 20:29:47 +0000 (UTC) Cc: rms@gnu.org, Chong Yidong , emacs-devel@gnu.org, Juri Linkov , Dan Nicolaescu , Stefan Monnier , drew.adams@oracle.com To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 20 22:30:11 2008 connect(): Connection refused 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.50) id 1JngAs-0003EE-WB for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 22:30:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JngAD-0004Z7-PH for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 16:29:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JngA1-0004Uw-AE for emacs-devel@gnu.org; Sun, 20 Apr 2008 16:29:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jng9z-0004U6-Bm for emacs-devel@gnu.org; Sun, 20 Apr 2008 16:29:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jng9z-0004Tz-43 for emacs-devel@gnu.org; Sun, 20 Apr 2008 16:29:15 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jng9o-0007UG-KP; Sun, 20 Apr 2008 16:29:04 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:59719 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jng9m-0005Xn-6c; Sun, 20 Apr 2008 22:29:02 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <858wz8ux2w.fsf@lola.goethe.zz> X-Antivirus: avast! (VPS 080420-0, 2008-04-20), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-Scan-Result: No virus found in message 1Jng9m-0005Xn-6c. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Jng9m-0005Xn-6c bb6d5005135149dad5034b101143f752 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:95545 Archived-At: David Kastrup wrote: > With the current semantics of active regions and delete-selection-mode, > I consider the end result painful. That does not change that it may > also be in some cases be useful. > > Does really nobody have an idea how to improve the situation? Do I understand you right when I assume that the painful thing for old users would be that typing new text would delete the selection? Many new users expects this. They also expect that you can undo that change with some undo command (which I think they expect to by C-z). Is that possible now? If the default will be that typing new text replaces the visible region then maybe there should be a substate where it is possible to type in new text while the region is visible? One way this could be done is to let C-x C-x go into that substate (in addition to doing what it does now). Would that be to inconvinient?