Subject: Re: bug#66373: 30.0.50; `describe-key' errors out with `Lisp error: (wrong-type-argument listp 13)'

From: Eli Zaretskii <[email-masked]>
Date: Sat, 07 Oct 2023 08:08:34 +0300

> From: Nick Dokos <[email-masked]>
> Date: Fri, 06 Oct 2023 11:53:23 -0400
> 
> 
> `C-h k` and pressing ENTER from the keypad results in the following backtrace:
> 
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (wrong-type-argument listp 13)
>   car(13)
>   event-end(13)
>   help--analyze-key("\15" [kp-enter] nil)
>   #f(compiled-function (kr) #<bytecode 0x1786dea54995adc4>)(("\15" . [kp-enter]))
>   mapcar(#f(compiled-function (kr) #<bytecode 0x1786dea54995adc4>) (([(select-window (#<window 37 on *Help*>))] . [(select-window (#<window 37 on *Help*>))]) ("\15" . [kp-enter])))
>   describe-key-briefly((([(select-window (#<window 37 on *Help*>))] . [(select-window (#<window 37 on *Help*>))]) ("\15" . [kp-enter])) nil)
>   funcall-interactively(describe-key-briefly (([(select-window (#<window 37 on *Help*>))] . [(select-window (#<window 37 on *Help*>))]) ("\15" . [kp-enter])) nil)
>   call-interactively(describe-key-briefly nil nil)
>   command-execute(describe-key-briefly)
> --8<---------------cut here---------------end--------------->8---
> 
> C-h k RET or C-m from the standard keyboard result in similar backtraces.

I cannot reproduce this with today's master.

> In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.38, cairo version 1.17.8) of 2023-10-02 built on
>  pierrot.dokosmarshall.org
> Repository revision: ab8bc93cd42233c59a187b99dfb011c6fc5b86f6
> Repository branch: master

This is a build from several days ago, but your HEAD commit is from
August.  So I suggest to update from Git and rebuild, then see if the
problem persists.

Thanks.