unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Heslin <public@heslin.eclipse.co.uk>
Subject: Re: Cua-mode binding of S-return
Date: Sat, 7 May 2005 00:46:48 +0000 (UTC)	[thread overview]
Message-ID: <d5h35o$jit$1@sea.gmane.org> (raw)
In-Reply-To: m364y67ett.fsf@kfs-l.imdomain.dk

Apologies for coming late to this thread ...

On 2005-04-28, Kim F. Storm <storm@cua.dk> wrote:
> 
>  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.

I have never had this problem, even though I use cua-mode and I am a
very bad, horribly sloppy typist.

>  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.

C-return is used by nxml-mode for nxml-complete, its incredibly useful
context-sensitive autocompletion function.  nxml-mode is not a part of
Emacs (yet), so strictly speaking it's not a conflict, but ...

Here is a bit more detail from James Clark (in nxml-mode.texi)

    The traditional GNU Emacs key combination for completion in a
    buffer is `M-<TAB>'. However, many window systems and window
    managers use this key combination themselves (typically for
    switching between windows) and do not pass it to
    applications. It's hard to find key combinations in GNU Emacs that
    are both easy to type and not taken by something else.  `C-<RET>'
    (i.e.  pressing the Enter or Return key, while the Ctrl key is
    held down) is available.  It won't be available on a traditional
    terminal (because it is indistinguishable from Return), but it
    will work with a window system.  Therefore we adopt the following
    solution by default: use `C-<RET>' when there's a window system
    and `M-<TAB>' when there's not.  In the following, I will assume
    that a window system is being used and will therefore refer to
    `C-<RET>'.

>  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.

Have you really had complaints about S-return?

Peter

  parent reply	other threads:[~2005-05-07  0:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 21:48 Cua-mode binding of S-return Kim F. Storm
2005-04-28 22:35 ` David Kastrup
2005-04-29 16:53 ` Kevin Rodgers
2005-05-07  0:46 ` Peter Heslin [this message]
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='d5h35o$jit$1@sea.gmane.org' \
    --to=public@heslin.eclipse.co.uk \
    /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).