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

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

How to binding key Ctrl-TAB to 'indent-relative


From: Edmond Halley
Subject: How to binding key Ctrl-TAB to 'indent-relative
Date: Tue, 9 Jun 2009 10:04:01 +0800

Hi, all

I am new to emacs. I want to bind key ctrl-tab to 'indent-relative, but I do not know how.

I have tried the following codes, but all failed.
(local-set-key [?\C-\t] 'indent-relative)
(local-set-key [?\\C-\\t] 'indent-relative)
(local-set-key [C-TAB] 'indent-relative)
(local-set-key [\C-TAB] 'indent-relative)
(local-set-key [?\C-TAB] 'indent-relative)
(local-set-key "\C-TAB" 'indent-relative)
(local-set-key "\C-\t" 'indent-relative)

It is c++-mode, version23. Is this key sequence special not able to rebind?


Thanks!

Halley

reply via email to

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