[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )"
From: |
Eli Zaretskii |
Subject: |
bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )" |
Date: |
Sat, 28 Dec 2019 19:24:53 +0200 |
> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Sat, 28 Dec 2019 16:46:25 +0100
> Cc: 38775@debbugs.gnu.org
>
> 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).