From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65270: 30.0.50; `describe-function' issue with some methods Date: Fri, 15 Sep 2023 05:24:43 -0700 Message-ID: References: <93892a01-1c96-4ae8-9a28-67a24a6b2bcf@orange.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65270-done@debbugs.gnu.org, Stefan Monnier To: David Ponce Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 15 14:25:17 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 1qh7sr-000950-75 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Sep 2023 14:25:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qh7sX-0004HZ-B1; Fri, 15 Sep 2023 08:24:57 -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 1qh7sW-0004GF-G7 for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 08:24: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 1qh7sW-0002aC-7W for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 08:24:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qh7sc-0006TH-Dr for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 08:25:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Sep 2023 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65270 X-GNU-PR-Package: emacs Mail-Followup-To: 65270@debbugs.gnu.org, stefankangas@gmail.com, da_vid@orange.fr Original-Received: via spool by 65270-done@debbugs.gnu.org id=D65270.169478069924855 (code D ref 65270); Fri, 15 Sep 2023 12:25:02 +0000 Original-Received: (at 65270-done) by debbugs.gnu.org; 15 Sep 2023 12:24:59 +0000 Original-Received: from localhost ([127.0.0.1]:42335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qh7sY-0006Sp-Si for submit@debbugs.gnu.org; Fri, 15 Sep 2023 08:24:59 -0400 Original-Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:53552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qh7sW-0006SR-NO for 65270-done@debbugs.gnu.org; Fri, 15 Sep 2023 08:24:57 -0400 Original-Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2bcb50e194dso33197181fa.3 for <65270-done@debbugs.gnu.org>; Fri, 15 Sep 2023 05:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694780684; x=1695385484; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=8K7VImII+Feo3VRjsYsonoq+Y3FQcEbeiy0+5JZf7Sw=; b=WLhlv3nyN7pwX3m6G4IXbHKdwFMSl4tk1mt0BmmCHZ7r6RDR58iXDdwC29Yv5jLi0b zNtSth6k6ImskUasR73KY/2Q38IJSmy+QcKiR6IxBkgr4YdHa4reBa67AyULhT9Z+BRC 5nsVZWUxvCymwAP2MN6HJGgMHmhEums8GPTCOqs8jh6AeS24GdZc1nWJg+RlmWcFQbnh /4PhoQ4nP6j6Y5ndjqXGgHJadTtjxjqwOMc+PnMzOATBhTZ3bDoSrbnKEi8Vu69lvY5H /Svb2A4aXes+rgQK6DpCPiwP+4kGm35kAQVAmEVuu8AO2ee7voKUgbBx9Iwbzx5oN8Zi Svgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694780684; x=1695385484; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8K7VImII+Feo3VRjsYsonoq+Y3FQcEbeiy0+5JZf7Sw=; b=O0Mls15+FKLielXnEj7Mvilywz/ShGsVHbLp0jUKwfhyoaftqnmif4dKAhnghFyLDu qqby7UOsNS3v8ICX/Zmh+5JKIov0djz87dRZKKVPzQdZ+5nzvh5AjjXpXXCGOXXeftWK JLvbfQJTu9j6e3rk24TrjVIFtQh3QHZp4KVONbARDrlLQlJTqzz5eScU7G2HRhDmDZl5 0t86PZYaj0Ow+30A4mF37+EqK1mAmg8u56frCJCbTht+xNZR7RwxBUS+O1XHMgEoz/iE oo3k08BHh/btwisvZOmhFFAB2k04C/LSFEtqwBLjFSsxi1tz66CqtjgWkIU3cxagxIkz vA7g== X-Gm-Message-State: AOJu0Yy3M48OdKcQfVQLZDkOPNETvRDz0aPESOR9RrzWM31lQ3Zr/+pn NNcvoBoP6/MMbPwN/QTkqgcbsB5/x65cg4zUS1c= X-Google-Smtp-Source: AGHT+IHjFzbKwI54+eOk2etUZh0d5J4vKairuGwJUCG4BSl3n9WViBsZ2F3OBF7E7d9orZ3oOFcRInM+GOdfPax4zgs= X-Received: by 2002:a2e:880d:0:b0:2be:541c:d06b with SMTP id x13-20020a2e880d000000b002be541cd06bmr1186808ljh.53.1694780684039; Fri, 15 Sep 2023 05:24:44 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 15 Sep 2023 05:24:43 -0700 In-Reply-To: <93892a01-1c96-4ae8-9a28-67a24a6b2bcf@orange.fr> (David Ponce's message of "Tue, 15 Aug 2023 11:09:00 +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:270524 Archived-At: Version: 30.1 David Ponce writes: > 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! It seems like this issue was fixed, but it was left open in the bug tracker. I'm therefore closing it now.