From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: keymap.el and its checks
Date: Sun, 02 Oct 2022 20:48:16 -0400 [thread overview]
Message-ID: <jwvsfk5g2i9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <p918rlxg2qj.fsf@google.com> (T. V. Raman's message of "Sun, 02 Oct 2022 17:39:00 -0700")
> I saw this change from Stefan:
> 570a11052b * keymap.el: Ease up support for non-`kbd` formats.
>
> and thought this would let me write
> (push repeat-exit-key unread-command-events)
No relation.
As for your problem: `unread-command-events` is defined tpo hold a list
of events. `repeat-exit-key` is supposed to contain a key-sequence
(more or less an array of keys). Keys and events are somewhat similar
so you can use keys as events. But a key *sequence* is definitely not
an events.
You can use `listify-key-sequence`to turn the key sequence into a
list of keys, and then use `append`.
Stefan
next prev parent reply other threads:[~2022-10-03 0:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 0:39 keymap.el and its checks T.V Raman
2022-10-03 0:48 ` Stefan Monnier [this message]
2022-10-03 1:10 ` T.V Raman
2022-10-03 1:15 ` T.V Raman
2022-10-03 2:52 ` Stefan Monnier
2022-10-03 6:58 ` Juri Linkov
2022-10-03 12:50 ` Stefan Monnier
2022-10-03 19:57 ` Juri Linkov
2022-10-03 20:48 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvsfk5g2i9.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=raman@google.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.
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.