From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.bugs Subject: bug#65270: 30.0.50; `describe-function' issue with some methods Date: Tue, 15 Aug 2023 11:09:00 +0200 Message-ID: <93892a01-1c96-4ae8-9a28-67a24a6b2bcf@orange.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36075"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cc: 65270@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 11:10:59 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 1qVq4p-0009B9-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 11:10:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVq4K-0001Mt-SL; Tue, 15 Aug 2023 05:10:30 -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 1qVq3v-00015M-G7 for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 05:10:06 -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 1qVq3u-0005St-RY for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 05:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVq3u-000583-DJ for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 05:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Ponce Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 09:10: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.169209054619648 (code B ref 65270); Tue, 15 Aug 2023 09:10:02 +0000 Original-Received: (at 65270) by debbugs.gnu.org; 15 Aug 2023 09:09:06 +0000 Original-Received: from localhost ([127.0.0.1]:35007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVq2z-00056q-St for submit@debbugs.gnu.org; Tue, 15 Aug 2023 05:09:06 -0400 Original-Received: from smtp-21.smtpout.orange.fr ([80.12.242.21]:61173 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVq2w-00056N-Ji for 65270@debbugs.gnu.org; Tue, 15 Aug 2023 05:09:03 -0400 Original-Received: from [192.168.1.15] ([2.7.71.181]) by smtp.orange.fr with ESMTPA id Vq2uqSWC8WghuVq2uqnjz8; Tue, 15 Aug 2023 11:09:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1692090541; bh=wN0+i19T51bAkblW4owKklU5mp+xc2IaM0VU70MnS34=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=BU87HxKPmKt6VWce6EoRZRL/ACJrU7grnu7XjPLmJq+JPo7svcYgjGvYlclsiXuKg 14670FfGQd5p01mXUWfGXzMDKXOzAMRki+6Zh3CIttVvq2phDOZGqUoms9ggIPDjIo gsMTaWutsJjdoXOx70MFddvjJwYmJu3wDzwJmRYYIafz2iP8L1WdW4JMmGdGmry4RY QElh3keABLFYhjexTnYvksUL/IY5qviccKTsVMKUVCAXdg+eaPFdoVWCsbEPz5xHrd +TNSHu4AOPXTmzpTYx9OmpMG3mnwHsUW0HKERr0L5E8/CVKE78aY0VpfqnO9nvrMrG GqLydAQ6oPxzw== X-ME-Helo: [192.168.1.15] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Tue, 15 Aug 2023 11:09:01 +0200 X-ME-IP: 2.7.71.181 Content-Language: fr, en-US In-Reply-To: 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:267472 Archived-At: On 15/08/2023 04:40, Stefan Monnier wrote: >> 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 > Hello Stefan, I confirm that your patch fixed the issue with doc string, and with arglist of byte-compiled methods (which is probably the common case). Thank you very much!