From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Shift-movement selection Date: Tue, 11 Mar 2008 20:19:41 -0400 Message-ID: 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> <87fxuyobxt.fsf@kfs-lx.rd.rdm> <47D56474.9000300@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1205281228 25811 80.91.229.12 (12 Mar 2008 00:20:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 00:20:28 +0000 (UTC) Cc: cyd@stupidchicken.com, lennart.borgman@gmail.com, emacs-devel@gnu.org, juri@jurta.org, storm@cua.dk, miles@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 01:20:55 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 1JZEiF-0005mt-9A for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 01:20:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZEhg-0007SB-Qp for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 20:20:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZEh4-000774-MW for emacs-devel@gnu.org; Tue, 11 Mar 2008 20:19:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZEh4-00076s-9v for emacs-devel@gnu.org; Tue, 11 Mar 2008 20:19:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZEh4-00076p-3Q for emacs-devel@gnu.org; Tue, 11 Mar 2008 20:19:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZEh3-0000eW-Tb for emacs-devel@gnu.org; Tue, 11 Mar 2008 20:19:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JZEh3-0001Es-MA; Tue, 11 Mar 2008 20:19:41 -0400 In-reply-to: (message from Stefan Monnier on Tue, 11 Mar 2008 14:40:26 -0400) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:92221 Archived-At: But the feature we're talking about is specifically trying to change the behavior of those commands depending on whether they're triggered by a key with or without a shift modifier. I.e. it's inherent to the desired functionality. I thought the desired functionality was that certain non-shift keys would disable the mark and certain shift keys would enable it. There are various ways to implement it. The cleanest way is one based on binding these keys to commands that will do what is wanted. There is a question about which commands should do this. Some want it to include C-f and all motion commands, but I think that is a bad idea. If this applies only to arrow keys and a few function keys, it is easy to do it just by binding those keys. If this applis to all motion commands, then it is hard to do by binding all the keys, there being so many, and some rebound in major modes, too. So it would need to be implemented by some special feature that checks for shift. But I think that is an unclean way to do things. Therefore, this is one reason not to make this apply to all motion commands.