From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: marking using shifted arrow keys (CUA mode) Date: Mon, 16 Jul 2007 20:45:34 +0200 Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184611593 7430 80.91.229.12 (16 Jul 2007 18:46:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 18:46:33 +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:46:31 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 1IAVaY-0001bq-Sa for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 20:46:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAVaY-000380-9b for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 14:46:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAVaU-00037l-OB for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:46:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAVaT-00037S-8f for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:46:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAVaT-00037P-4c for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:46:25 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IAVaS-0007MM-Jn for emacs-devel@gnu.org; Mon, 16 Jul 2007 14:46:24 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IAVaL-0000HV-4n for emacs-devel@gnu.org; Mon, 16 Jul 2007 20:46:17 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jul 2007 20:46:17 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jul 2007 20:46:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s 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:74907 Archived-At: 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? In the documentation of CUA, we use "movement keys". In the tutorial and many other manual nodes ((info "(emacs)Menu Bar"), (info "(emacs)User Input"), (info "(emacs)Keys"), (info "(emacs)Moving Point")), we use the term "arrow keys". I'd suggest to replace "movement keys" with "arrow keys" in the CUA docs. Unless there's objection, I will add these suggestions: - add index entry - add hint and a cross reference in (info "(emacs)Marking Objects") - "movement keys" -> "arrow keys" (Should such doc fixes go into Emacs 22 or into the trunk? I'd say Emacs 22.) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/