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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Kritixi Lithos <kritixilithos <at> gmail.com>
Cc: 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 16:46:25 +0100
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.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




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.