unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>,
	"Andrea Corallo" <acorallo@gnu.org>
Cc: 66021@debbugs.gnu.org
Subject: bug#66021: 30.0.50; error from C-h k with closure
Date: Sat, 16 Sep 2023 09:38:34 +0300	[thread overview]
Message-ID: <831qeyk4gl.fsf@gnu.org> (raw)
In-Reply-To: <m2wmwqzmfq.fsf@Pro.fritz.box> (message from Gerd Möllmann on Sat, 16 Sep 2023 08:01:13 +0200)

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





  reply	other threads:[~2023-09-16  6:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-09-18  8:17   ` Andrea Corallo
2023-09-18  8:21     ` Gerd Möllmann
2023-09-18  8:53       ` Andrea Corallo

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=831qeyk4gl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66021@debbugs.gnu.org \
    --cc=acorallo@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    /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).