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

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

Re: c++ programming utilities


From: William Xuuu
Subject: Re: c++ programming utilities
Date: Sun, 16 May 2004 22:02:29 +0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Kai Grossjohann <kai.grossjohann@gmx.net> writes:

> william xuuu <abc@abc.abc> writes:
>
>> Oh, today i found a command M-x repeat-complex-command, which helped me
>> solve a bit: 
>>
>>       (local-set-key " " 'cmd) 
>>
>> Wow, the "^[ " stands for ESC TAB, any other methods? And, I find it's
>> impossible to bind ESC TAB globally, though i don't need that actually.
>
> You can use (kbd "ESC TAB") or (kbd "M-TAB") instead of "^[ ", I
> think that's more intuitive.
>
> You can use global-set-key instead of local-set-key to bind the key
> globally.  But some modes may override this binding, so you also need
> to bind the key locally in those modes.

Got it. Actually, I've tried (kbd "ESC TAB"), (kbd "M-TAB"), [(meta
tab)]. Now i see why i failed, it's because that i used global-set-key
for testing "ESC TAB", unfortunately, nearly every mode has its own
local key bindings with "ESC TAB", so that's the point. Thanks, all.

-- 
William Xuuu


reply via email to

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