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 #17 received at 38775 <at> debbugs.gnu.org (full text, mbox):

From: Kritixi Lithos <kritixilithos <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: eliz <at> gnu.org, 38775 <at> debbugs.gnu.org
Subject: Re: bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )"
Date: Sat, 28 Dec 2019 21:36:34 +0200
> That's because kbd is just a wrapper around read-kbd-macro.

Ah, intended behaviour then, read-kbd-macro's help file documents this
so that resolves the issue. Thank you all for your swift replies.

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.




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

Previous Next


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