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

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

Re: Problems binding odd C- & M-keys in Elisp


From: Katsumi Yamaoka
Subject: Re: Problems binding odd C- & M-keys in Elisp
Date: Thu, 09 Mar 2006 11:15:20 +0900
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/23.0.0 (gnu/linux)

>>>>> In <ufylsif3h.fsf@verizon.net> Joe Fineman wrote:

> I can bind commands to the following odd combinations using M-x
> global-set-key, but I cannot figure out how to express the same
> bindings in Elisp for inclusion in .emacs:

> C-; ("\C-\;" gives "Invalid modifier in string")
> C-<tab> ("\C-\t" gives the same)
> M-<left>
> M-<up>

You can use:

(global-set-key [(control ?\;)] 'COMMAND)
(global-set-key [(control tab)] 'COMMAND)
(global-set-key [(meta left)] 'COMMAND)
(global-set-key [(meta up)] 'COMMAND)


reply via email to

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