all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eduardo Ochs <eduardoochs@gmail.com>
To: 73764@debbugs.gnu.org
Subject: bug#73764: format-kbd-macro returns a key name that keymap-lookup doesn't recognize
Date: Sat, 12 Oct 2024 01:46:26 -0300	[thread overview]
Message-ID: <CADs++6jwK14-SNxjbPoRfajnyMKHpJkRk=-zN+hc+8jubWEj5w@mail.gmail.com> (raw)

Hi list,

if we run this

  (format-kbd-macro (read-key-sequence-vector "Type C-M-h:"))

we get "M-C-h". But try:

  (keymap-lookup global-map "M-C-h")
    ;;-> "M-C-h" is not a valid key definition; see `key-valid-p'

  (keymap-lookup global-map "C-M-h")
    ;;-> mark-defun

Tested on GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu,
GTK+ Version 3.24.24, cairo version 1.16.0) of 2024-10-11,
git-pulled and compiled a few hours ago.

  Cheers,
    Eduardo Ochs
    http://anggtwu.net/





             reply	other threads:[~2024-10-12  4:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12  4:46 Eduardo Ochs [this message]
2024-10-12  9:18 ` bug#73764: format-kbd-macro returns a key name that keymap-lookup doesn't recognize Eli Zaretskii
2024-10-12 13:33   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-12 14:36     ` Eli Zaretskii
2024-10-12 14:51       ` Andreas Schwab
2024-10-12 15:18         ` Eli Zaretskii
2024-10-14 15:06           ` Robert Pluim
2024-10-14 15:54             ` Eli Zaretskii
2024-10-14 16:25               ` Eli Zaretskii
2024-10-14 21:48                 ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to='CADs++6jwK14-SNxjbPoRfajnyMKHpJkRk=-zN+hc+8jubWEj5w@mail.gmail.com' \
    --to=eduardoochs@gmail.com \
    --cc=73764@debbugs.gnu.org \
    /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.
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.