Subject: Re: bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )"

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 30 Aug 2021 04:24:37 +0200

Kritixi Lithos <[email-masked]> writes:

> So how would you solve the original problem of calling emacs
> keystrokes with potential keyboard macros inside them?
> `command-execute` appears to use `execute-kbd-macro` according to the
> source, so trying `command-execute` on each keystroke does not work as
> intended with `C-x ( ... C-x )` among the commands.

Good question.  More generally, given the textual representations of any
number of Emacs keystrokes, do we have a way to get those replayed
programmatically?  I thought we had (on top of `call-last-kbd-macro' or
edmacro), but I can't really find anything now?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no