unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Key binding with multiple modifiers
@ 2004-01-26 21:18 Chris Laux
  2004-01-26 21:19 ` Alan Mackenzie
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Chris Laux @ 2004-01-26 21:18 UTC (permalink / raw)


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

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

end of thread, other threads:[~2004-01-31 20:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-26 21:18 Key binding with multiple modifiers Chris Laux
2004-01-26 21:19 ` Alan Mackenzie
2004-01-27 11:11   ` Chris Laux
2004-01-27 19:58     ` Kevin Rodgers
2004-01-28 18:53     ` Stefan Monnier
2004-01-31 20:17       ` Kai Grossjohann
2004-01-26 21:26 ` Jesper Harder
2004-01-26 22:13 ` Stefan Monnier

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).