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: Shift-movement selection Date: Tue, 11 Mar 2008 21:41:17 +0100 Message-ID: <47D6EE6D.5030809@gmail.com> References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <87hcfkdhqk.fsf@stupidchicken.com> <87d4q8sq9c.fsf@jurta.org> <8763w0n393.fsf@catnip.gol.com> <871w6ounk0.fsf@kfs-lx.rd.rdm> <87ablacdxt.fsf@catnip.gol.com> <87skyzzeng.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205268118 16462 80.91.229.12 (11 Mar 2008 20:41:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2008 20:41:58 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org, juri@jurta.org, Stefan Monnier , storm@cua.dk, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 11 21:42:24 2008 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 1JZBIl-0004Y3-35 for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 21:42:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZBIC-0004D5-Jz for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 16:41:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZBI8-0004Bl-5q for emacs-devel@gnu.org; Tue, 11 Mar 2008 16:41:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZBI6-0004BR-LI for emacs-devel@gnu.org; Tue, 11 Mar 2008 16:41:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZBI6-0004BO-Ib for emacs-devel@gnu.org; Tue, 11 Mar 2008 16:41:42 -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 1JZBHy-0002YV-KF; Tue, 11 Mar 2008 16:41:34 -0400 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:59593 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JZBHw-0007XP-8y; Tue, 11 Mar 2008 21:41:33 +0100 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 080311-0, 2008-03-11), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1JZBHw-0007XP-8y. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JZBHw-0007XP-8y 4eec28911cd3bd6b3699b6c4179d5331 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:92193 Archived-At: Richard Stallman wrote: > so cursor motion commands such as C-f would still not normally > deactivate the mark, except when the mark was activated by > a shifted key. This is the desired behavior. > > I doubt that such a broad change is good. > > Also, it is rather painful to implement, since there are dozens of > cursor motion commands, if not hundreds. Lots of modes have their > own motion commands. > > I think the only reliable way to implement that feature--if we want > it--is to do it in the main loop, after the command returns, if it has > moved point. But that hard-wires the meaning of non-shift, which is > very non-Emacs-y. Not if it is done in a separate post-post-command-hook. (And a similar pre-pre-command-hook at other side.)