unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-devel@gnu.org
Subject: marking using shifted arrow keys (CUA mode)
Date: Mon, 16 Jul 2007 20:45:34 +0200	[thread overview]
Message-ID: <v9ejj8rxv5.fsf@marauder.physik.uni-ulm.de> (raw)

Hi,

for a colleague, I was looking for an option to mark text using
shifted arrow keys (<S-right>, <C-S-right>) 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/

             reply	other threads:[~2007-07-16 18:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 18:45 Reiner Steib [this message]
2007-07-16 18:49 ` marking using shifted arrow keys (CUA mode) Dan Nicolaescu
2007-07-16 19:50   ` Reiner Steib
2007-07-16 20:38     ` Dan Nicolaescu
2007-07-17  8:36 ` Frank Schmitt
2007-07-17 16:09   ` Reiner Steib
2007-07-18  7:54     ` Frank Schmitt
2007-07-18 18:29       ` Reiner Steib
2007-07-18  0:40   ` Johan Bockgård
2007-07-17 11:09 ` Kim F. Storm
2007-07-17 16:36   ` Reiner Steib
2007-07-17 16:42   ` Reiner Steib
2007-07-19 11:11     ` Kim F. Storm
2007-07-20 17:47       ` Reiner Steib
2007-07-21 14:25 ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9ejj8rxv5.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).