unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66021: 30.0.50; error from C-h k with closure
@ 2023-09-16  6:01 Gerd Möllmann
  2023-09-16  6:38 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Gerd Möllmann @ 2023-09-16  6:01 UTC (permalink / raw)
  To: 66021

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66021: 30.0.50; error from C-h k with closure
  2023-09-16  6:01 bug#66021: 30.0.50; error from C-h k with closure Gerd Möllmann
@ 2023-09-16  6:38 ` Eli Zaretskii
  2023-09-18  8:17   ` Andrea Corallo
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2023-09-16  6:38 UTC (permalink / raw)
  To: Gerd Möllmann, Andrea Corallo; +Cc: 66021

> From: Gerd Möllmann <gerd.moellmann@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)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66021: 30.0.50; error from C-h k with closure
  2023-09-16  6:38 ` Eli Zaretskii
@ 2023-09-18  8:17   ` Andrea Corallo
  2023-09-18  8:21     ` Gerd Möllmann
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Corallo @ 2023-09-18  8:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Gerd Möllmann, 66021

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Gerd Möllmann <gerd.moellmann@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66021: 30.0.50; error from C-h k with closure
  2023-09-18  8:17   ` Andrea Corallo
@ 2023-09-18  8:21     ` Gerd Möllmann
  2023-09-18  8:53       ` Andrea Corallo
  0 siblings, 1 reply; 5+ messages in thread
From: Gerd Möllmann @ 2023-09-18  8:21 UTC (permalink / raw)
  To: Andrea Corallo, Eli Zaretskii; +Cc: 66021

On 23-09-18 10:17 , Andrea Corallo wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>>> From: Gerd Möllmann <gerd.moellmann@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!






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66021: 30.0.50; error from C-h k with closure
  2023-09-18  8:21     ` Gerd Möllmann
@ 2023-09-18  8:53       ` Andrea Corallo
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea Corallo @ 2023-09-18  8:53 UTC (permalink / raw)
  To: Gerd Möllmann; +Cc: Eli Zaretskii, 66021-done

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> On 23-09-18 10:17 , Andrea Corallo wrote:
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>>>> From: Gerd Möllmann <gerd.moellmann@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-18  8:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16  6:01 bug#66021: 30.0.50; error from C-h k with closure Gerd Möllmann
2023-09-16  6:38 ` Eli Zaretskii
2023-09-18  8:17   ` Andrea Corallo
2023-09-18  8:21     ` Gerd Möllmann
2023-09-18  8:53       ` Andrea Corallo

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).