From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.bugs Subject: bug#61647: edit-kbd-macro: Wrong type argument: characterp, 134217785 Date: Mon, 20 Feb 2023 02:31:25 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000012affd05f51afa75" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6254"; mail-complaints-to="usenet@ciao.gmane.io" To: 61647@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 20 06:32:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTyml-0001S5-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Feb 2023 06:32:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTymS-0004tV-5R; Mon, 20 Feb 2023 00:32:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTymQ-0004tL-D7 for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 00:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTymQ-0003DT-42 for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 00:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTymP-0003ju-Ta for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 00:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eduardo Ochs Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2023 05:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61647 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167687111514356 (code B ref -1); Mon, 20 Feb 2023 05:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Feb 2023 05:31:55 +0000 Original-Received: from localhost ([127.0.0.1]:50178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTymJ-0003jT-4h for submit@debbugs.gnu.org; Mon, 20 Feb 2023 00:31:55 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:45442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTymH-0003jJ-Mn for submit@debbugs.gnu.org; Mon, 20 Feb 2023 00:31:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTymG-0004sO-Jp for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 00:31:52 -0500 Original-Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTymE-0003Bg-PC for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 00:31:52 -0500 Original-Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-5369b3204daso26312257b3.7 for ; Sun, 19 Feb 2023 21:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XxWsv/pntkIkK1hZUsdQyUzfOjFvBLl48wV42DxmRXo=; b=WxEyta0JJb/B4mNHI1aA7UZwMWLje0m0/TFOJWPYNdutX2/aOVfdqhaQEXRZdHgLZ0 WcYicyQqR+71Ydtn8GGZT0xTLocpO3AGh62ENsgK7y53AriuYr7N/AX/WIyiPrRZbTJH TjHSrbvzU3lJE56bQsKv33XlNrEAZ/YSF8PjgYpk3t3bXcOAUl5H39eFaxNpfUENoDc2 Ijz3+m/3/kmBUQhY1HwrtzldkX//X81A8oOwmf++bXtfl3YvGv4F3Oc6qPyPp8yuBVGD ZidDTKdVQeX8JYy7k+ytjqHd/F5WJj2aYV6aPF9ykbLuTqx9aycQua1MqJ+j6SFvxvB/ ua2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XxWsv/pntkIkK1hZUsdQyUzfOjFvBLl48wV42DxmRXo=; b=wQFaBsPBtFDdLng+lQvKfUpotHo9s8f6SFfDqOs/CdDrK2LYSI/MjEJc2xzpDgDz7k Q1DUtUkIYjfWh+KeomsP01NK5CbjESeoytRVuLYQiBH+z3TWZ6FIqzcVWONqkQhhvAfq vb7gmtpDpFIWoa62g3VP3xLS74ndZFkbkbnSzHW67RZ6QBeR/UyG/hpIiShpESQOQpZO Y+Ke/OLkE7J1D0dz0SLjefxpy6X7tu8GHJ+FMlA390/nJeDjxL2a3NEdRAJzpI/Bpmiu gr4ZeKWaxLeufNt4q7Kr2cAOxfh+qjSGyvrYmNj0snkddfLOYXBsbfChIUZD+ixTh9in 5rUA== X-Gm-Message-State: AO0yUKUjTks6lEB3JWQqgcoy9SySz6SssnCr7QBvT8eYs5tsQ1/fQxr0 U5+ASLHzNvNDJu1My2fPIitHY5X5utElB1BSsdtqRQYO1ebzLg== X-Google-Smtp-Source: AK7set+6AnANont3ktNDb2XuN5e3YKqr5Sh5OVvoDyfWyzJjkb1PZjEnfZHMBVKdAIr+IBnAbZIK3eUgoaHm2Q1FwWM= X-Received: by 2002:a81:5307:0:b0:52a:8eb5:bcfb with SMTP id h7-20020a815307000000b0052a8eb5bcfbmr2085201ywb.518.1676871097035; Sun, 19 Feb 2023 21:31:37 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::1134; envelope-from=eduardoochs@gmail.com; helo=mail-yw1-x1134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256130 Archived-At: --00000000000012affd05f51afa75 Content-Type: text/plain; charset="UTF-8" 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 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 --00000000000012affd05f51afa75 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all, I found a keyboard macro on which edit-kbd-macro f= ails with
this error:

=C2=A0 edit-kbd-macro: Wrong type argument:= characterp, 134217785

To reproduce the error run any of these two s= etqs - they should be
equivalent -

=C2=A0 (setq last-kbd-macro [1= 34217847 134217785 134217785 134217834 5 32
=C2=A0 =C2=A0 25 1 67108896 = down 134217847 134217777 134217834 return 25
=C2=A0 =C2=A0 134217803 134= 217803])

=C2=A0 (setq last-kbd-macro (kbd "M-w M-99 M-j C-e SPC= C-y C-a C-SPC <down>
=C2=A0 =C2=A0 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 ha= ppens in this version of Emacs,

=C2=A0 GNU Emacs 30.0.50 (build 1, x= 86_64-pc-linux-gnu, GTK+ Version
=C2=A0 3.24.24, cairo version 1.16.0) o= f 2023-02-20

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

=C2=A0 Linux scylla 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (202= 3-01-21)
=C2=A0 x86_64 GNU/Linux

Cheers,
=C2=A0 Eduardo Ochs


--00000000000012affd05f51afa75--