unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to binding key Ctrl-TAB to 'indent-relative
@ 2009-06-09  2:04 Edmond Halley
  2009-06-09  8:40 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Edmond Halley @ 2009-06-09  2:04 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 656 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-09 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09  2:04 How to binding key Ctrl-TAB to 'indent-relative Edmond Halley
2009-06-09  8:40 ` Peter Dyballa
2009-06-09 13:55   ` Edmond Halley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).