[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65270: 30.0.50; `describe-function' issue with some methods
From: |
Stefan Kangas |
Subject: |
bug#65270: 30.0.50; `describe-function' issue with some methods |
Date: |
Fri, 15 Sep 2023 05:24:43 -0700 |
Version: 30.1
David Ponce <da_vid@orange.fr> 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#65270: 30.0.50; `describe-function' issue with some methods,
Stefan Kangas <=