From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Cua-mode binding of S-return
Date: Sat, 07 May 2005 23:58:49 +0200 [thread overview]
Message-ID: <m3br7mg0km.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <d5h35o$jit$1@sea.gmane.org> (Peter Heslin's message of "Sat, 7 May 2005 00:46:48 +0000 (UTC)")
Peter Heslin <public@heslin.eclipse.co.uk> writes:
> 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>'.
As James explains, this is a general problem, i.e. not limited to nxml-mode.
As such, it should be solved generally, rather than hotch-potch fixes in
individual packages.
Usually, I just use ESC TAB for completion when M-TAB doesn't work, and
I guess other users do the same, as I don't hear many complaints that
M-TAB doesn't work...
I don't know what other good alternative there is for M-TAB, but
although C-return could seem ok, I still think it would be better
used for rectangle marking due to the analogy with C-SPC.
>> 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?
Yes, and I make the mistake myself too often!
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2005-05-07 21:58 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
2005-05-07 21:58 ` Kim F. Storm [this message]
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=m3br7mg0km.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--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).