GNU bug report logs - #66021
30.0.50; error from C-h k with closure

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sat, 16 Sep 2023 06:02:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66021 in the body.
You can then email your comments to 66021 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#66021; Package emacs. (Sat, 16 Sep 2023 06:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gerd Möllmann <gerd.moellmann <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 16 Sep 2023 06:02:02 GMT) Full text and rfc822 format available.

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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; error from C-h k with closure
Date: Sat, 16 Sep 2023 08:01:13 +0200
With emacs -Q, evaluate

  (keymap-global-set "<f2>" (lambda () (interactive) (message "<f2>")))

then C-h k and press f2.  This signals an error

  help-fns--signature: Wrong type argument: symbolp, (closure ...


In GNU Emacs 30.0.50 (build 4, x86_64-apple-darwin20.6.0, NS
 appkit-2022.70 Version 11.7.10 (Build 20G1427)) of 2023-09-15 built on
 Pro.fritz.box
Repository revision: 1442f4043a761e9bdeeb4e1fbe9822c2987c1502
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.7.10




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66021; Package emacs. (Sat, 16 Sep 2023 06:39:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>, Andrea
 Corallo <acorallo <at> gnu.org>
Cc: 66021 <at> debbugs.gnu.org
Subject: Re: bug#66021: 30.0.50; error from C-h k with closure
Date: Sat, 16 Sep 2023 09:38:34 +0300
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Date: Sat, 16 Sep 2023 08:01:13 +0200
> 
> With emacs -Q, evaluate
> 
>   (keymap-global-set "<f2>" (lambda () (interactive) (message "<f2>")))
> 
> then C-h k and press f2.  This signals an error
> 
>   help-fns--signature: Wrong type argument: symbolp, (closure ...

The backtrace is below.  Andrea, can you please look into this?  is
testing for symbolp the right fix there?

  Debugger entered--Lisp error: (wrong-type-argument symbolp (closure (t) nil (interactive) (message "<f2>")))
    comp-function-type-spec((closure (t) nil (interactive) (message "<f2>")))
    help-fns--signature((closure (t) nil (interactive) (message "<f2>")) nil (closure (t) nil (interactive) (message "<f2>")) (closure (t) nil (interactive) (message "<f2>")) #<buffer *scratch*>)
    describe-function-1((closure (t) nil (interactive) (message "<f2>")))
    #f(compiled-function () #<bytecode 0x1193c126adc3c31d>)()
    help--window-setup("*Help*" #f(compiled-function () #<bytecode 0x1193c126adc3c31d>))
    describe-key((([f2] . [f2])))
    funcall-interactively(describe-key (([f2] . [f2])))
    call-interactively(describe-key nil nil)
    command-execute(describe-key)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66021; Package emacs. (Mon, 18 Sep 2023 08:18:01 GMT) Full text and rfc822 format available.

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

From: Andrea Corallo <acorallo <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>,
 66021 <at> debbugs.gnu.org
Subject: Re: bug#66021: 30.0.50; error from C-h k with closure
Date: Mon, 18 Sep 2023 04:17:11 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>> Date: Sat, 16 Sep 2023 08:01:13 +0200
>> 
>> With emacs -Q, evaluate
>> 
>>   (keymap-global-set "<f2>" (lambda () (interactive) (message "<f2>")))
>> 
>> then C-h k and press f2.  This signals an error
>> 
>>   help-fns--signature: Wrong type argument: symbolp, (closure ...
>
> The backtrace is below.  Andrea, can you please look into this?  is
> testing for symbolp the right fix there?

Hi Eli,

yes it is, fixed in master for me with 991bf3f0f5d.

Thanks

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66021; Package emacs. (Mon, 18 Sep 2023 08:22:02 GMT) Full text and rfc822 format available.

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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Andrea Corallo <acorallo <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 66021 <at> debbugs.gnu.org
Subject: Re: bug#66021: 30.0.50; error from C-h k with closure
Date: Mon, 18 Sep 2023 10:21:08 +0200
On 23-09-18 10:17 , Andrea Corallo wrote:
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
>>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>>> Date: Sat, 16 Sep 2023 08:01:13 +0200
>>>
>>> With emacs -Q, evaluate
>>>
>>>    (keymap-global-set "<f2>" (lambda () (interactive) (message "<f2>")))
>>>
>>> then C-h k and press f2.  This signals an error
>>>
>>>    help-fns--signature: Wrong type argument: symbolp, (closure ...
>>
>> The backtrace is below.  Andrea, can you please look into this?  is
>> testing for symbolp the right fix there?
> 
> Hi Eli,
> 
> yes it is, fixed in master for me with 991bf3f0f5d.

Confirmed.  Thanks, Andrea!





bug marked as fixed in version 30.1, send any further explanations to 66021 <at> debbugs.gnu.org and Gerd Möllmann <gerd.moellmann <at> gmail.com> Request was from Gerd Möllmann <gerd.moellmann <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 18 Sep 2023 08:47:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66021; Package emacs. (Mon, 18 Sep 2023 08:54:01 GMT) Full text and rfc822 format available.

Message #19 received at 66021-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <acorallo <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 66021-done <at> debbugs.gnu.org
Subject: Re: bug#66021: 30.0.50; error from C-h k with closure
Date: Mon, 18 Sep 2023 04:53:27 -0400
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

> On 23-09-18 10:17 , Andrea Corallo wrote:
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>>>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>>>> Date: Sat, 16 Sep 2023 08:01:13 +0200
>>>>
>>>> With emacs -Q, evaluate
>>>>
>>>>    (keymap-global-set "<f2>" (lambda () (interactive) (message "<f2>")))
>>>>
>>>> then C-h k and press f2.  This signals an error
>>>>
>>>>    help-fns--signature: Wrong type argument: symbolp, (closure ...
>>>
>>> The backtrace is below.  Andrea, can you please look into this?  is
>>> testing for symbolp the right fix there?
>> Hi Eli,
>> yes it is, fixed in master for me with 991bf3f0f5d.
>
> Confirmed.  Thanks, Andrea!

Wonderful, thanks for checking closing this.

Bests

  Andrea




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Oct 2023 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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