bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65270: 30.0.50; `describe-function' issue with some methods


From: David Ponce
Subject: bug#65270: 30.0.50; `describe-function' issue with some methods
Date: Tue, 15 Aug 2023 11:09:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

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!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]