[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Warn on semantic newlines
From: |
Alejandro Colomar |
Subject: |
Warn on semantic newlines |
Date: |
Fri, 10 Jun 2022 11:52:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
Hi, Ingo and Branden!
As far as I know, there's currently no tool that warns on "foo. bar" in
filled test. Not `mandoc -Tlint`, and not `groff -ww`, and not `groff
-rCHECKSTYLE=999`. I know that CHECKSTYLE is not designed in a way that
could catch this easily, but maybe -ww or -Tlint could. Do you think
you could add some semantic newlines warnings so that writers could
realize by themselves that their text could be improved?
The tool could have a secondary warning, not so important, for "foo, bar".
Also, as far as I know, neither of -ww nor -Tlint have something
equivalent to -Wno-switch (or -Wno-error=switch), which could be nice to
silence (or make non-fatal) some warnings on purpose. Do you think that
could be implemented in groff(1) or mandoc(1)?
Thanks,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
OpenPGP_signature
Description: OpenPGP digital signature