Re: [bug #60233] [PATCH] doc/groff.texi: ambiguity in .tkf documentation
"G. Branden Robinson" <[email protected]> Mon, 4 May 2026 15:05:54 -0500
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <20260504200554.7qcyyncp2syhlylb@illithid> |
At 2026-04-29T14:58:01-0400, Dave wrote: > Update of bug #60233 (group groff): [...] > In addition to the content changes, this patch rebreaks lines > following current convention.[1] Recent commits seem to refer to this > as breaking lines "in a roff-friendly way," but it's really for the > benefit of diff, not roff. (It is following the convention used in > man pages, so "in a man-page-conventional way" would also be accurate. > But a major reason for the man page convention is how it clarifies > content changes in diffs by omitting consequent reflowing, so I feel > diff is at the root of the rationale for it.) I concur. Future commits of mine adopt new phraseology. > Accordingly, I first rebroke the existing lines, then edited the > wording, then ran a diff between those two steps to show the content > changes my patch makes: "git diff --word-diff" is also helpful for this. > [1] My idea of "current convention" is merely to break lines between > sentences and at logical places within them. If a more specific > convention has been followed thus far (e.g. always break before a > conjunction), this patch should be reflowed again to reflect that. I have nothing more rigid than Kernighan's rule, plus my own habit of breaking "before and after multi-word parentheticals". Texinfo's lack of line continuation (\newline in *roff) makes the rule impossible to follow in some cases, as when using footnotes. (It does technically have that feature, sort of, but you can't use it everywhere--for instance in `@cindex` calls, it doesn't work. Since it doesn't work everywhere I need it to, I haven't arsed myself to learn the rules.) Regards, Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmn4/BoACgkQ0Z6cfXEm bc4wAQ//Wl3t52LPir68Vy4pXFr6enyyL2HI3YO1dicaFWaguos2Pi71dLbJVfjp h8rYHfUOuowP72PgMYK0Rp7emHnGh3F+wZVxcIMvBU4oNxk/ZC5NZ85GyBUMStut xg8aNCDYpf53SouehijI/hil663CVAxG2ZViLZE72XJUGqU++eICGFWFJjr5yoFz YyLnGEzENhHLcK6gcIzEe4g3kFL92ljwG231dq8W1/V+ciow78u1SqHldLa+R/8l AybUhv67fqB7AKKuRHR7xxKz1946fOd/CC6+JROXf7nat45qTppNzUFh1tDLI5aQ bQpqgcho4riEs7mMCA3yeD8he7mJYQqUHutcJ0NgEJkaopF1+q8hTlh+L55NcFzv wCMONz9rX+Zl9GME59ZkoHB5ydRhVnmafylWTErk1vEJxLtX97c6b7yeUDrvFpn3 sHNGYIi4SsvmVPyFNK0wH0A6I1i/HQGnyNTQWnxGn1Qgk6GkFrIy//bkkl8JU3KI eiMZMZt74LjOUiKfRDK+50MphHRBR5w67TM9HIKyoKPLAiioO1KeCC7DgNNeiyAY pQaTvIEjT+WKqc5eiIvmxn4pGXcz8UawGDMyF/TggocMIUE+nJmr6iAGgS3xIV81 ptcnKsMbafx4V1+DUZWu13tIvHi1tYAPubcRwW7pTDXT1tdAW4o= =TrRF -----END PGP SIGNATURE-----