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: Mon, 21 Apr 2008 21:47:05 +0200 Message-ID: <480CEF39.8040307@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> <480BA779.2080507@gmail.com> <853apguv0s.fsf@lola.goethe.zz> <480BAD5C.4090204@gmail.com> <85prskte96.fsf@lola.goethe.zz> <480BB8C0.4020303@gmail.com> <85abjnu5ss.fsf@lola.goethe.zz> <480C31B9.6060900@gmail.com> <480CC3AD.1050403@gmail.com> 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 1208807749 25501 80.91.229.12 (21 Apr 2008 19:55:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2008 19:55:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 21 21:56:22 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 1Jo26m-0006YO-2m for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 21:55:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jo25y-0002N2-6i for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 15:54:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jo25u-0002Mp-5u for emacs-devel@gnu.org; Mon, 21 Apr 2008 15:54:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jo25p-0002MF-3f for emacs-devel@gnu.org; Mon, 21 Apr 2008 15:54:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jo25o-0002MA-Rb for emacs-devel@gnu.org; Mon, 21 Apr 2008 15:54:24 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jo25b-0004bX-Co for emacs-devel@gnu.org; Mon, 21 Apr 2008 15:54:24 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:62749 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jo1z2-0003xx-8I; Mon, 21 Apr 2008 21:47:25 +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: X-Antivirus: avast! (VPS 080421-0, 2008-04-21), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1Jo1z2-0003xx-8I. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Jo1z2-0003xx-8I d1c992c0c16c3e60c864bf5e9e694bbc 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:95689 Archived-At: Robert J. Chassell wrote: > The answer > is of course that the arrow keys without shift does deactivate the region. > > No, the arrow keys without shift do NOT deactivate the region with > > Today's GNU Emacs CVS snapshot, Mon, 2008 Apr 21 09:59 UTC > GNU Emacs 23.0.60.18 (i686-pc-linux-gnu, GTK+ Version 2.12.9) > started with > > emacs -Q -D > > and configured with > > --disable-font-backend --with-x --with-type1 --with-x-toolkit=gtk I think that depends on how you activate the region from the beginning (and I think it is good). This is how it works for me: 1) If the region is activated with C-SPC then unshifted arrow keys does not deactivate the region. Is not this in accordance with what Emacs long time users might expect today? 2) If the region was activated with a shifted arrow key then unshifted arrow keys deactivates the region. I think this is what users accustomed to other applications expects. --- I think Jason's suggestion for delete-selection-mode fits very well with the above. I believe it is easy to remember: "I think delete-selection-mode (and maybe even transient-mark-mode) should be enabled only when the region was marked using shift movement keys. Setting the mark with C-SPC, moving the cursor and typing a self-insert character should definitely not delete the region by default, even if the region is active and highlighted."