gbranden pushed a commit to branch master
in repository groff.
commit a9953a66224e624ef7af72ea8da945ea942a8a6d
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Oct 22 18:56:59 2025 -0500
doc/ms.ms.in: Revert mistaken change.
In commit 20272d460f, Monday, I blanked out on the syntax of groff
ms(7)'s font macros. The opening bracket did not trail the `\c` once
the macro rearranged its arguments for formatting.
I had wondered why my new "stuff on the line after \c" diagnostics
didn't trip over this...it's because there was no such stuff after the
`I` macro did its work.
The superficially similar change to groff_ms(7) in the same commit _was_
a legitimate case, and, if reverted, is correctly flagged by the
formatter with a syntax warning. It's better to have the formatter
catch these sorts of errors than to rely on human eyeballs, which is why
I implemented the warning.
---
doc/ms.ms.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/ms.ms.in b/doc/ms.ms.in
index f379b6b55..73a5e4661 100644
--- a/doc/ms.ms.in
+++ b/doc/ms.ms.in
@@ -2600,7 +2600,7 @@ _
T{
\&.EQ
.R
-.I align \~[\c
+.I align \~[\c [
.I label ]]
.CW
.br
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit