GNU bug report logs - #67182
29.1; read-kbd-macro always return a vector

Previous Next

Package: emacs;

Reported by: "Jakub T. Jankiewicz" <jcubic <at> jcubic.pl>

Date: Wed, 15 Nov 2023 01:17:01 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Jakub T. Jankiewicz" <jcubic <at> jcubic.pl>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 67182 <at> debbugs.gnu.org
Subject: Re: bug#67182: 29.1; read-kbd-macro always return a vector
Date: Wed, 15 Nov 2023 14:14:10 +0200
> Date: Wed, 15 Nov 2023 02:05:35 +0100
> From: "Jakub T. Jankiewicz" <jcubic <at> jcubic.pl>
> 
> This is the code I was always using in Emacs to send raw keys
> to modes like ansi-term:
> 
> (defun raw (str)
>   (interactive "sSend Raw Key: ")
>   (term-send-raw-string (read-kbd-macro str)))
> 
> But this doesn't work anymore it throw an error [3] when calling:
> 
> (raw "C-c")
> 
> According to documentation `C-h f read-kbd-macro`
> "The result will be a string if possible" but it seems that in new
> GNU Emacs it's always a vector.

Thanks.

Stefan, this is due to your change in edmacro-parse-keys as part of
commit 87789330, whose log message says nothing about
edmacro-parse-keys.  Did you really intend to make that
backward-incompatible change?  If so, why?




This bug report was last modified 1 year and 189 days ago.

Previous Next


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