unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Subject: Cua-mode binding of S-return
Date: Thu, 28 Apr 2005 23:48:30 +0200	[thread overview]
Message-ID: <m364y67ett.fsf@kfs-l.imdomain.dk> (raw)


Currently cua-mode uses S-return to toggle rectangle marking.

This works nicely most of the time, but it is just too easy to
accidentally hit it after another shifted key, e.g. an upper case
letter.

Therefore, I would like to move this to another binding, but I 
don't quite know which.  

C-return seems like a good candidate, analogue to C-space for the normal mark.

Unfortunately, C-return is used by tex-mode and thumbs-mode:

   (define-key map [(control return)] 'tex-feed-input)
   (define-key map [(control return)] 'thumbs-set-image-at-point-to-root-window)

Calculator also uses it, but this is in a special environment where rectangle
marking doesn't make much sense anyway:

   (calculator-save-and-quit [(control return)]

The thumbs binding is a bit odd, as it could just as well be bound to a regular
key, such as `r'.

That really leaves just the tex-mode binding -- so I wonder how commonly
used that binding is (C-c C-m also runs tex-feed-input).

Of course, this is all relevant only when you use cua-mode.

But we have talked about separating the cua-mode rectangle code
from cua, and as such a good binding to toggle rectangle marking
will have to be found anyway.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

             reply	other threads:[~2005-04-28 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 21:48 Kim F. Storm [this message]
2005-04-28 22:35 ` Cua-mode binding of S-return David Kastrup
2005-04-29 16:53 ` Kevin Rodgers
2005-05-07  0:46 ` Peter Heslin
2005-05-07 21:58   ` Kim F. Storm
2005-05-08 16:12     ` Richard Stallman
2005-05-16 15:25     ` Kai Großjohann

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=m364y67ett.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    /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).