GNU bug report logs -
#65790
29.1; "docstring wider than 80 characters" when there is no docstring
Previous Next
Reported by: Damien Cassou <damien <at> cassou.me>
Date: Wed, 6 Sep 2023 19:10:01 UTC
Severity: minor
Found in version 29.1
Fixed in version 30.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 65790 <at> debbugs.gnu.org (full text, mbox):
Damien Cassou <damien <at> cassou.me> writes:
> I have this piece of code:
>
> (cl-defstruct (json-process-client-application
> (:constructor json-process-client--application-create)
> (:conc-name json-process-client--application-))
> message-callbacks)
>
> In GNU Emacs 29.1, "Warning: docstring wider than 80 characters" even
> though I wrote no docstring here. I understand the problem lies in the
> generated code and I agree the lisp names in my code are long. But, I
> don't think the byte compiler should annoy me about docstrings I didn't
> write.
>
> What do you think?
Yes, it would be nice not to get that warning. I fixed many such
problems when I first added the warning about long docstrings.
Patches welcome.
PS. As a work-around, you can set `byte-compile-docstring-max-column'.
This bug report was last modified 1 year and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.