From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65270: 30.0.50; `describe-function' issue with some methods Date: Mon, 14 Aug 2023 22:40:27 -0400 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36943"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65270@debbugs.gnu.org To: David Ponce Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 04:41:23 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 1qVjzn-0009Ql-3k for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 04:41:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVjzV-0000gv-M7; Mon, 14 Aug 2023 22:41:05 -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 1qVjzS-0000gb-WC for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 22:41:03 -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 1qVjzS-0001JI-7z for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 22:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVjzS-0002ll-4j for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 22:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 02:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65270 X-GNU-PR-Package: emacs Original-Received: via spool by 65270-submit@debbugs.gnu.org id=B65270.169206724410615 (code B ref 65270); Tue, 15 Aug 2023 02:41:02 +0000 Original-Received: (at 65270) by debbugs.gnu.org; 15 Aug 2023 02:40:44 +0000 Original-Received: from localhost ([127.0.0.1]:34678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVjzA-0002l9-DJ for submit@debbugs.gnu.org; Mon, 14 Aug 2023 22:40:44 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:45635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVjz7-0002kt-KT for 65270@debbugs.gnu.org; Mon, 14 Aug 2023 22:40:42 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BC931444F93; Mon, 14 Aug 2023 22:40:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1692067233; bh=PB+j2Cc+m7MTKw+vc2KNr63E5cc6C5arx0nYt2SxDpM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aa5cL3Q+Y3MoADMohOGUP+6DCSwF1KeI7K3XRreJtwz4CZU1dlP0QJbyngfWouyvZ RJl43B6P0DrctEDJqsmTspLOR94b4oT3gyuUpOq8cZkeZeuYoL0pdYwyCX/l+OUi26 w1udVWx9G6wNTILyfHoZEMbafg+g8n7Lx7Woi91KUMKyzo/tGqZkmxV2TPu1LFDESB FXjPvvv0y6Nmodbkr9SEZzS60wxE4jT74FF0LAjHv4OFITJMfxyL0WmkwfG7PKV16A HYyyW7LbINOFzErvCSVU+edq84lRaBuhSwL+PoUYSRxOyK+ZSdxPlb5jTg4hjwy/0L AM7oTKzomSnuQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id DEEF3444F90; Mon, 14 Aug 2023 22:40:33 -0400 (EDT) Original-Received: from pastel (unknown [45.72.228.154]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BDF221202F2; Mon, 14 Aug 2023 22:40:33 -0400 (EDT) In-Reply-To: (David Ponce's message of "Sun, 13 Aug 2023 12:36:25 +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:267452 Archived-At: > It seems there is an issue with `describe-function' of a method that > calls `cl-call-next-method'. For a such method `describe-function' says > that the method is "Undocumented" even if a doc string is present. I pushed a patch to `master` which seems to fix this problem. > Also the mentioned signature is weird. See an illustration below using > a simple recipe, running 'emacs -Q'. I think we still have a problem here when the method is not byte-compiled, but I think the problem is in `help-function-arglist` which decides to use the "raw arglist" from the interpreted closure without looking at the arg names stashed in the docstring. Stefan