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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 28 Dec 2019 19:24:53 +0200

> From: Andreas Schwab <[email-masked]>
> Date: Sat, 28 Dec 2019 16:46:25 +0100
> Cc: [email-masked]
> 
> On Dez 28 2019, Kritixi Lithos wrote:
> 
> > From `emacs -Q`, I write `(kbd "C-x ( C-d C-x )")` in the buffer, then
> > evaluate it using `C-M-x`, which gives "^D" instead of the expected
> > "^X(^D^X)".
> 
> That's because kbd is just a wrapper around read-kbd-macro.

Yes, and FWIW Emacs always worked like that (I checked a far back as
Emacs 23.1).