unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eduardo Ochs <eduardoochs@gmail.com>
To: 61647@debbugs.gnu.org
Subject: bug#61647: edit-kbd-macro: Wrong type argument: characterp, 134217785
Date: Mon, 20 Feb 2023 02:31:25 -0300	[thread overview]
Message-ID: <CADs++6iqR6KrTz3LTeEm3yoHwQqF2M_5_L7V_ZQ8x8d-Gxzsnw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

Hi all, I found a keyboard macro on which edit-kbd-macro fails with
this error:

  edit-kbd-macro: Wrong type argument: characterp, 134217785

To reproduce the error run any of these two setqs - they should be
equivalent -

  (setq last-kbd-macro [134217847 134217785 134217785 134217834 5 32
    25 1 67108896 down 134217847 134217777 134217834 return 25
    134217803 134217803])

  (setq last-kbd-macro (kbd "M-w M-99 M-j C-e SPC C-y C-a C-SPC <down>
    M-w M-1 M-j RET C-y 2*M-K"))

and then run `M-x edit-kbd-macro C-x e'.

The error happens in this version of Emacs,

  GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
  3.24.24, cairo version 1.16.0) of 2023-02-20

but not in an Emacs28. Here's the output of uname -a:

  Linux scylla 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21)
  x86_64 GNU/Linux

Cheers,
  Eduardo Ochs
  http://anggtwu.net/#eev

[-- Attachment #2: Type: text/html, Size: 1132 bytes --]

             reply	other threads:[~2023-02-20  5:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-20  5:31 Eduardo Ochs [this message]
2023-02-20 11:39 ` bug#61647: edit-kbd-macro: Wrong type argument: characterp, 134217785 Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-20 12:18   ` Mattias Engdegård
2023-02-20 13:05     ` Eli Zaretskii
2023-02-21  9:33       ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADs++6iqR6KrTz3LTeEm3yoHwQqF2M_5_L7V_ZQ8x8d-Gxzsnw@mail.gmail.com \
    --to=eduardoochs@gmail.com \
    --cc=61647@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).