From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Shift-movement selection Date: Wed, 12 Mar 2008 23:06:45 +0100 Message-ID: <87bq5j1tsa.fsf@kfs-lx.rd.rdm> 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> <87myp4p88k.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205359639 20299 80.91.229.12 (12 Mar 2008 22:07:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 22:07:19 +0000 (UTC) Cc: cyd@stupidchicken.com, lennart.borgman@gmail.com, emacs-devel@gnu.org, juri@jurta.org, monnier@iro.umontreal.ca, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 23:07:45 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 1JZZ6v-0004ER-FB for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 23:07:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZZ6M-0001Yh-PK for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 18:07:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZZ6G-0001X4-Hu for emacs-devel@gnu.org; Wed, 12 Mar 2008 18:07:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZZ6C-0001VD-66 for emacs-devel@gnu.org; Wed, 12 Mar 2008 18:07:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZZ6B-0001V4-Uk for emacs-devel@gnu.org; Wed, 12 Mar 2008 18:07:00 -0400 Original-Received: from mail-relay.sonofon.dk ([212.88.64.25]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JZZ69-0001UL-Tw for emacs-devel@gnu.org; Wed, 12 Mar 2008 18:06:59 -0400 Original-Received: (qmail 46761 invoked from network); 12 Mar 2008 22:06:53 -0000 Original-Received: from unknown (HELO kfs-lx.rd.rdm.cua.dk) (213.83.150.21) by 0 with SMTP; 12 Mar 2008 22:06:53 -0000 In-Reply-To: (Richard Stallman's message of "Wed\, 12 Mar 2008 13\:51\:31 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:92325 Archived-At: Richard Stallman writes: > 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. > > > > I strongly disagree that doing things consistently for the user is > unclean. > > It is unclean in Emacs to hard-wire the meaning of the shift key. With CUA mode, I explicitly mark the movement commands (with a CUA property) to which the shift key should take effect - so there is no hard-wiring of the shift key. If you explicitly bind S- to a command which does not have this property, it will not do the "shift thing"... > > That is what CUA mode does now - and it works _very_ well. > E.g. to mark a word, line, or sexp, just do S-M-f, S-C-n, or S-C-M-f. > > Why force people to use the arrow-keys etc. when we have the > perfect emacs bindings already. > > What bothers me is not that S-C-f would enable the mark, but that C-f > would disable it. That is an incompatibility in something important. With CUA, C-f ONLY disables it if the region was started with S-C-f. That works very well in practice. Maybe you could try using CUA-mode (briefly) to try how it feels. -- Kim F. Storm http://www.cua.dk