From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: marking using shifted arrow keys (CUA mode) Date: Mon, 16 Jul 2007 11:49:32 -0700 Message-ID: <200707161849.l6GInWTj009763@oogie-boogie.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184611824 8191 80.91.229.12 (16 Jul 2007 18:50:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 18:50:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 20:50:20 2007 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 1IAVeD-0002ts-6l for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 20:50:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAVeC-0006A1-LF for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 14:50:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAVe8-00069m-Qa for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:50:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAVe6-00069T-6A for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:50:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAVe5-00069Q-Vq for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:50:10 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAVe5-0008MJ-Gv for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:50:09 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l6GInWTj009763 for ; Mon, 16 Jul 2007 11:49:32 -0700 (PDT) In-Reply-To: (Reiner Steib's message of "Mon\, 16 Jul 2007 20\:45\:34 +0200") Original-Lines: 33 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_74 0.60) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 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:74908 Archived-At: Reiner Steib writes: > Hi, > > for a colleague, I was looking for an option to mark text using > shifted arrow keys (, ) in Emacs 22.1. > I tried `i arrow', `i shift' in the manual without success. Finally I > found it in (info "(emacs)CUA Bindings") because I presumed that it > might be a feature of CUA mode. I don't think that a user expects to > find it in a node under "Killing and Moving Text". Maybe a hint and a > cross reference in (info "(emacs)Marking Objects") would be useful. > And I think we should add an index entry (maybe like this one): > > --8<---------------cut here---------------start------------->8--- > --- killing.texi 15 Apr 2007 10:54:28 +0200 1.60 > +++ killing.texi 16 Jul 2007 20:26:36 +0200 > @@ -650,6 +650,7 @@ > However, if you don't want to override these bindings in Emacs at all, > set @code{cua-enable-cua-keys} to @code{nil}. > > +@cindex marking, using shifted arrow keys > In CUA mode, using @kbd{Shift} together with the movement keys > activates and highlights the region over which they move. The > standard (unshifted) movement keys deactivate the mark, and typed text > --8<---------------cut here---------------end--------------->8--- > > Additionally, it's a little bit strange that the user has to enable > `cua-mode' and disable (set `cua-enable-cua-keys' to `nil') the most > prominent CUA feature to get "marking using shifted arrow keys". Did > I miss something? Is there another possibility? See cua-selection-mode