From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66021: 30.0.50; error from C-h k with closure Date: Sat, 16 Sep 2023 09:38:34 +0300 Message-ID: <831qeyk4gl.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66021@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 16 08:39:21 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 1qhOxc-0006Fp-VC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Sep 2023 08:39:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhOxG-0001FC-4d; Sat, 16 Sep 2023 02:38:58 -0400 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 1qhOxE-0001EX-3m for bug-gnu-emacs@gnu.org; Sat, 16 Sep 2023 02:38:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhOxD-0005lc-SM for bug-gnu-emacs@gnu.org; Sat, 16 Sep 2023 02:38:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhOxK-0003UN-NS for bug-gnu-emacs@gnu.org; Sat, 16 Sep 2023 02:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Sep 2023 06:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66021 X-GNU-PR-Package: emacs Original-Received: via spool by 66021-submit@debbugs.gnu.org id=B66021.169484633613384 (code B ref 66021); Sat, 16 Sep 2023 06:39:02 +0000 Original-Received: (at 66021) by debbugs.gnu.org; 16 Sep 2023 06:38:56 +0000 Original-Received: from localhost ([127.0.0.1]:45259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhOxD-0003To-N0 for submit@debbugs.gnu.org; Sat, 16 Sep 2023 02:38:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhOxC-0003Ta-41 for 66021@debbugs.gnu.org; Sat, 16 Sep 2023 02:38:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhOwz-0005ip-LK; Sat, 16 Sep 2023 02:38:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=KRX52+b13aFG8VdbqVcOmQR2aF3BpLrWWe/CguCWcGk=; b=ieyKCbwiEyF/P7ss3HeH YJJiXLeXXlVBkwhz+dK5n/3g7j1T/KXx1eZXEMIDdkzBwSgXB4FnpSzKIsD3IyF/MG3nB0LwJFri1 eYJydhW8R5xfWAZhvJ5lsEEJbBJBqVq7QYxt2CW6UnuT9B8XGOqQ34ZQSMBA/bsIGYMqetySTaYd5 lK9KQHsS34OXDdUF747gjt7rkPLpr2a5Qa6Ax0vazBpUpoS1HWMcTvtpQdzd3sZ+IFtFtHihmhiPf R+QZX2F5ghqWqzJ75Wl15JT6Vg47XRXmMQEv8PZGjmkL5dJ2Jjtw9o/Zm0RbAPWt7ud2qWaUs7X+l 1rOS4W0RZwh5rw==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 16 Sep 2023 08:01:13 +0200) 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:270582 Archived-At: > From: Gerd Möllmann > Date: Sat, 16 Sep 2023 08:01:13 +0200 > > With emacs -Q, evaluate > > (keymap-global-set "" (lambda () (interactive) (message ""))) > > 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 ""))) comp-function-type-spec((closure (t) nil (interactive) (message ""))) help-fns--signature((closure (t) nil (interactive) (message "")) nil (closure (t) nil (interactive) (message "")) (closure (t) nil (interactive) (message "")) #) describe-function-1((closure (t) nil (interactive) (message ""))) #f(compiled-function () #)() help--window-setup("*Help*" #f(compiled-function () #)) describe-key((([f2] . [f2]))) funcall-interactively(describe-key (([f2] . [f2]))) call-interactively(describe-key nil nil) command-execute(describe-key)