GNU bug report logs -
#37063
26.2.90; Problems with recent CL support in checkdoc
Previous Next
Reported by: Damien Cassou <damien <at> cassou.me>
Date: Sat, 17 Aug 2019 11:43:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 26.2.90
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Damien Cassou <damien <at> cassou.me> writes:
> In the context of bug#37034, some initial support for CL functions and
> methods was added to checkdoc. On my code, the changes make checkdoc
> trigger warnings on perfectly valid code IMO. For example,
>
> (cl-defmethod foo ((a list)) "Return A.")
>
> Checkdoc complains that LIST should be described. I disagree with that,
> list is a type, not a argument name.
>
> I attach to this bug report a patch introducing test cases to
> checkdoc-tests.el. If it's not possible to implement full support for CL
> I prefer that checkdoc doesn't complain even if there is a bug in the
> docstring rather than checkdoc complains when the docstring is correct.
After a patch was submitted that fixed most of the cases (except the
&context and &aux ones, I believe), I've applied your checkdoc-tests.el
patch (except those two functions).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.