From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Shift selection using interactive spec Date: Sun, 16 Mar 2008 10:15:49 -0400 Message-ID: <87skyqrbze.fsf@stupidchicken.com> References: <87k5k69p92.fsf@stupidchicken.com> <200803140408.m2E47hPU014494@sallyv1.ics.uci.edu> <87prtxpekk.fsf@kfs-lx.rd.rdm> <87abl11ilo.fsf@stupidchicken.com> <874pb9koyw.fsf@stupidchicken.com> <87od9gzqv9.fsf@stupidchicken.com> <87bq5gytbi.fsf@stupidchicken.com> <87abkzhpzm.fsf@stupidchicken.com> <47DC437B.1080100@emf.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205676967 23005 80.91.229.12 (16 Mar 2008 14:16:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2008 14:16:07 +0000 (UTC) Cc: Dan Nicolaescu , Stefan Monnier , "Kim F. Storm" , emacs-devel@gnu.org To: Thomas Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 16 15:16:35 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 1Jatf6-0007NV-OL for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 15:16:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JateX-00009n-1q for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 10:15:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JateS-00008P-FL for emacs-devel@gnu.org; Sun, 16 Mar 2008 10:15:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JateR-00006i-3E for emacs-devel@gnu.org; Sun, 16 Mar 2008 10:15:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JateQ-00006d-KH for emacs-devel@gnu.org; Sun, 16 Mar 2008 10:15:50 -0400 Original-Received: from c-98-216-111-182.hsd1.ma.comcast.net ([98.216.111.182] helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JateQ-0003oM-BI for emacs-devel@gnu.org; Sun, 16 Mar 2008 10:15:50 -0400 Original-Received: by furry (Postfix, from userid 1000) id 8D681C03C; Sun, 16 Mar 2008 10:15:49 -0400 (EDT) In-Reply-To: <47DC437B.1080100@emf.net> (Thomas Lord's message of "Sat\, 15 Mar 2008 14\:45\:31 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:92738 Archived-At: Thomas Lord writes: > It's a red herring to think in terms of movement commands. > > For example, if C-t invokes transpose-chars then, > by default, S-C-t should also invoke transpose-chars > but override the default and make the new default to > preserve the transient mark. S-C-f S-C-f S-C-t S-C-f > makes one modification to the buffer and leaves a > transient region of three characters. (Hopefully > transpose-chars is already coded so as to make > its buffer changes under save-excursion.) It wouldn't be wise to make such a wide-ranging change in the behavior of Emacs. Since certain existing modes bind keys to shift modifiers, we should not make it a general rule that a shift-something keybinding changes the selecion. The movement commands can be treated as a special case, for entirely pragmatic reasons. It helps that the shift modified versions of the keybindings are typically unbound.