Peter Heslin <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel