unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Key binding with multiple modifiers
Date: Mon, 26 Jan 2004 22:26:24 +0100	[thread overview]
Message-ID: <m3n08ajta7.fsf@defun.localdomain> (raw)
In-Reply-To: acb6374c.0401261318.32746d11@posting.google.com

Christopher.laux@Web.de (Chris Laux) writes:

> 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,

Try

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

  parent reply	other threads:[~2004-01-26 21:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2004-01-26 22:13 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3n08ajta7.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).