From: Stefan Kangas <stefankangas@gmail.com>
To: Damien Cassou <damien@cassou.me>, 65790@debbugs.gnu.org
Subject: bug#65790: 29.1; "docstring wider than 80 characters" when there is no docstring
Date: Thu, 7 Sep 2023 01:52:00 -0700 [thread overview]
Message-ID: <CADwFkm=N0Q=6XStxk6EXsgiO-uoSCqaMXfYF5i8JJpXemkmEew@mail.gmail.com> (raw)
In-Reply-To: <87edjbp1aq.fsf@cassou.me>
Damien Cassou <damien@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'.
next prev parent reply other threads:[~2023-09-07 8:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-06 19:08 bug#65790: 29.1; "docstring wider than 80 characters" when there is no docstring Damien Cassou
2023-09-07 5:04 ` Eli Zaretskii
2023-09-07 9:30 ` Damien Cassou
2023-09-07 8:52 ` Stefan Kangas [this message]
2023-09-07 9:33 ` Damien Cassou
2023-09-07 9:47 ` Stefan Kangas
2023-09-10 6:47 ` Damien Cassou
2023-09-10 9:55 ` Stefan Kangas
2023-09-12 19:22 ` Damien Cassou
2023-09-13 14:38 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=N0Q=6XStxk6EXsgiO-uoSCqaMXfYF5i8JJpXemkmEew@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=65790@debbugs.gnu.org \
--cc=damien@cassou.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.