help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Two Emacs challenges


From: Lennart Borgman
Subject: Re: Two Emacs challenges
Date: Fri, 16 Jun 2006 22:21:22 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Lennart Borgman wrote:
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'.)
Forgot to say that this is actually not quite correct. The window manager knows nothing about M (Meta) which is Emacs specific. The window manager uses Alt-Tab. However Emacs might have bound Meta to Alt.

So another option might be to move Meta to some other key that you can use conveniently. (I myself have Meta on the windows keys.)




reply via email to

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