emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CUA mode's C-RET binding [was: position on changing defaults?]


From: Drew Adams
Subject: CUA mode's C-RET binding [was: position on changing defaults?]
Date: Sun, 9 Mar 2008 15:11:00 -0800

> >   Unless you explicitly hit C-RET, you'll never notice it's there.
...
> Of course, if we promote the C-RET method of marking a 
> rectangle as the default method, manual needs changes.

BTW, any chance that we could change the default binding of
`cua-set-rectangle-mark' to something else, besides C-RET? I don't see
anything in the Common User Access definition about C-RET, so I'm guessing
it's not part of that standard anyway.

The current binding presents a problem for Icicles and some other modes.
here are messages about a nxml-mode conflict, for example:
http://osdir.com/ml/emacs.nxml.general/2006-01/msg00052.html,
http://www.mail-archive.com/address@hidden/msg03655.html.

Since CUA mode is a global minor mode, and minor-mode bindings take
precedence over local bindings, the minibuffer binding of C-RET in Icicles
is overridden by `cua-set-rectangle-mark'.

C-RET is used in Icicles in a way that is analogous to RET. Is there a
similar reason for CUA mode's use of C-RET? If not, how about changing it?

The conflict with Icicles is just an example. It's no biggee for Icicles
users (don't use CUA mode or rebind keys as needed). But if other things are
equal, we might look for a better binding for `cua-set-rectangle-mark'. It's
nice to keep RET + modifier keys for something a bit similar to what RET
does.

Again, this is only a minor annoyance, but if fixed it might let more people
use CUA mode in more contexts.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]