GNU bug report logs - #38775
(kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )"

Previous Next

Package: emacs;

Reported by: Kritixi Lithos <kritixilithos <at> gmail.com>

Date: Sat, 28 Dec 2019 15:20:01 UTC

Severity: minor

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 38775 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kritixi Lithos <kritixilithos <at> gmail.com>
Cc: eliz <at> gnu.org, 38775 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )"
Date: Mon, 30 Aug 2021 04:24:37 +0200
Kritixi Lithos <kritixilithos <at> gmail.com> 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




This bug report was last modified 3 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.