Leon wrote:
Dear all,
I found two useful key bindings but they seems not obvious to achieve.
(1) Ctrl+Tab & Alt+Tab
Since most window managers have used Alt+Tab for switching windows,
Alt+Tab key bindings is useless in Emacs running in X. Is there
something I can set in ~/.emacs so that Alt+Tab will be remapped to
Ctrl+Tab? For example, if AUCTeX has bound <M-tab> to
TeX-complete-symbol, the function should be *automatically* bound to
<C-tab> when I enter LaTeX-mode.
From the manual to the next version of Emacs (22):
The character `M-<TAB>' runs a command to complete the partial
symbol before point against the set of meaningful symbol names. This
command inserts at point any additional characters that it can
determine from the partial name. (If your window manager defines
`M-<TAB>' to switch windows, you can type `<ESC> <TAB>' or `C-M-i'.)