all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.