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

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

Key binding with multiple modifiers


From: Chris Laux
Subject: Key binding with multiple modifiers
Date: 26 Jan 2004 13:18:43 -0800

Hello,

What is the correct way to bind a key modified by both the control and
the meta key?  I failed to find an example in the help texts and the
following command doesn't work:

(global-set-key "\C-M-7" 'shell)

When I try the following, the binding is listed when accessed with C-h
b, but actually pressing the keys just gets "C-M-7" printed in the
minibuffer:

(global-set-key [C-M-7] 'shell)

Any help would be greatly appreciated,

Chris


reply via email to

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