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: Mon, 14 Aug 2023 12:41:17 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------YZba7xrr9i96jtbMEnDmMMGr" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9337"; 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: Stefan Monnier To: 65270@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 14 12:42:27 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 1qVV1l-00024C-4g for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Aug 2023 12:42:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVV1Z-000687-1u; Mon, 14 Aug 2023 06:42:13 -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 1qVV1P-00067m-6f for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 06:42:05 -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 1qVV1O-0006hM-Ud for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 06:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVV1O-0001ED-FI for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 06:42: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: Mon, 14 Aug 2023 10:42: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.16920096834668 (code B ref 65270); Mon, 14 Aug 2023 10:42:02 +0000 Original-Received: (at 65270) by debbugs.gnu.org; 14 Aug 2023 10:41:23 +0000 Original-Received: from localhost ([127.0.0.1]:32988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVV0k-0001DE-Kx for submit@debbugs.gnu.org; Mon, 14 Aug 2023 06:41:22 -0400 Original-Received: from smtp-27.smtpout.orange.fr ([80.12.242.27]:50238 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVV0h-0001D3-Uf for 65270@debbugs.gnu.org; Mon, 14 Aug 2023 06:41:21 -0400 Original-Received: from [192.168.1.15] ([2.7.71.181]) by smtp.orange.fr with ESMTPA id VV0fqRZ0cLJHlVV0fqyyMG; Mon, 14 Aug 2023 12:41:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1692009678; bh=Hh8Iza/b+2hzrXGRKlPdXajzciJ9Ay6mHrdlGfuiqIQ=; h=Date:Subject:From:To:References:Cc:In-Reply-To; b=BCjt/sTJsdGkFXoQe7RZbz5UUHusVya3oI39v2MkRZquN3kbY2GYal9sbFPUbiySI qgzyntKG2Xal42k5qPrnCPv75dRKymb55hcBZbT9iD+s9DAjiUoeIoIEx67wGcxILC W4P1XyMGhdkT/GSbgCIeizr6ByyMc2Houj4+YQC7r1njvEAaw0qE6VIntN3cZdnXP3 9TE/arUeMROEqa3IxvnuDLQ8VQc7vpj8zPx2X3/3lztoIEU8pbOE1k0YBj+g8gpxbh Fu4X/AbHmAVNfO+hMxKvt10RRGX8WQWbHypNWroxDFAwqWqyXpHA4JcMNH+JiDbOYK mysRgThQNpoAw== X-ME-Helo: [192.168.1.15] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Mon, 14 Aug 2023 12:41:18 +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:267404 Archived-At: This is a multi-part message in MIME format. --------------YZba7xrr9i96jtbMEnDmMMGr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 13/08/2023 12:36, David Ponce wrote: > Hello, > > 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. > > Also the mentioned signature is weird.  See an illustration below using > a simple recipe, running 'emacs -Q'. > [...] Hello, The attached patch fixed for me the doc string issue with `describe-function' for methods calling `cl-call-next-method'. It would be nice if someone who better knows the cl-generic library will double check it (CC Stefan, the author). Unfortunately, I didn't find a solution for arguments. Hope it will help. Thanks --------------YZba7xrr9i96jtbMEnDmMMGr Content-Type: text/x-patch; charset=UTF-8; name="cl-generic-docstring-1.patch" Content-Disposition: attachment; filename="cl-generic-docstring-1.patch" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3AvZW1hY3MtbGlzcC9jbC1nZW5lcmljLmVsIGIvbGlzcC9lbWFj cy1saXNwL2NsLWdlbmVyaWMuZWwKaW5kZXggYjA2MmMyODBhNDEuLjcyMjIxMWQ2YmE4IDEw MDY0NAotLS0gYS9saXNwL2VtYWNzLWxpc3AvY2wtZ2VuZXJpYy5lbAorKysgYi9saXNwL2Vt YWNzLWxpc3AvY2wtZ2VuZXJpYy5lbApAQCAtNDI5LDYgKzQyOSwxNSBAQCBjbC1nZW5lcmlj LWRlZmluZS1jb250ZXh0LXJld3JpdGVyCiAgICAgICAgICAgICAobGV4aWNhbC1iaW5kaW5n CiAgICAgICAgICAgICAgKGNvbnMgJ2N1cnJpZWQKICAgICAgICAgICAgICAgICAgICBgIyco bGFtYmRhICgsbm0pIDtDYWxsZWQgd2hlbiBjb25zdHJ1Y3RpbmcgdGhlIGVmZmVjdGl2ZSBt ZXRob2QuCisgICAgICAgICAgICAgICAgICAgICAgICAsQChsZXQqICgocHJlYm9keSAoY2Fy IHBhcnNlZC1ib2R5KSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChkcyAo aWYgKHN0cmluZ3AgKGNhciBwcmVib2R5KSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgcHJlYm9keQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgKHNldHEgcHJlYm9keSAoY29ucyBuaWwgcHJlYm9keSkpKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICh1c2FnZSAoaGVscC1zcGxpdC1mdW5kb2MgKGNh ciBkcykgbmlsKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHVubGVzcyB1c2Fn ZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNldGNhciBkcyAoaGVscC1hZGQt ZnVuZG9jLXVzYWdlIChjYXIgZHMpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJncykpKQorICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHByZWJvZHkpCiAgICAgICAgICAgICAgICAgICAgICAgICAobGV0 ICgoLG5tcCAoaWYgKGNsLS1nZW5lcmljLWlzbm90LW5ubS1wICxubSkKICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjJ2Fsd2F5cyAjJ2lnbm9yZSkpKQogICAg ICAgICAgICAgICAgICAgICAgICAgICA7OyBUaGlzIGAozrsgKCZyZXN0IHgpIC4uIChhcHBs eSAozrsgKGFyZ3MpIC4uKSB4KSknCkBAIC00NDYsMTUgKzQ1NSw2IEBAIGNsLWdlbmVyaWMt ZGVmaW5lLWNvbnRleHQtcmV3cml0ZXIKICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsg aXMgYWx3YXlzIGNhbGxlZCBkaXJlY3RseSBhbmQgdGhlcmUgYXJlIG5vCiAgICAgICAgICAg ICAgICAgICAgICAgICAgIDs7IGAmb3B0aW9uYWwnIGFyZ3MuCiAgICAgICAgICAgICAgICAg ICAgICAgICAgIChsYW1iZGEgKCZyZXN0ICxhcmdsaXN0KQotICAgICAgICAgICAgICAgICAg ICAgICAgICAgICxAKGxldCogKChwcmVib2R5IChjYXIgcGFyc2VkLWJvZHkpKQotICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChkcyAoaWYgKHN0cmluZ3AgKGNhciBw cmVib2R5KSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IHByZWJvZHkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo c2V0cSBwcmVib2R5IChjb25zIG5pbCBwcmVib2R5KSkpKQotICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICh1c2FnZSAoaGVscC1zcGxpdC1mdW5kb2MgKGNhciBkcykg bmlsKSkpCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh1bmxlc3MgdXNhZ2UK LSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc2V0Y2FyIGRzIChoZWxwLWFk ZC1mdW5kb2MtdXNhZ2UgKGNhciBkcykKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJncykpKQotICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBwcmVib2R5KQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgIChsZXQgKCgsY25tIChsYW1iZGEgKCZyZXN0IGFyZ3MpCiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYXBwbHkgLG5tIChvciBhcmdzICxh cmdsaXN0KSkpKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IFRoaXMgYGFw cGx5K2xhbWJkYScgYmFzaWNhbGx5IHBhcnNlcwo= --------------YZba7xrr9i96jtbMEnDmMMGr--