gbranden pushed a commit to branch master
in repository groff.
commit 24a8e9158bbca8efc12622790ec2d828045fb1dd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Jan 14 16:32:25 2026 -0600
[mm]: Fix botched macro argument dumping (2/2).
* contrib/mm/m.tmac (IE, WE): As previous commit, but also sequence the
argument dump _after_ these macro's `ec` invokations so we can
accurately dump them. See "Punning Names" in our Texinfo manual or in
groff(7).
---
contrib/mm/ChangeLog | 3 +++
contrib/mm/m.tmac | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index b0eeb80a3..5d2d21854 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -4,6 +4,9 @@
(AVL): Fix botched diagnostic argument dumping, which caused
spurious output to the standard error stream with any use of
these macros.
+ (IE, WE): Same, but also sequence the argument dump _after_
+ these macro's `ec` invokations so we can accurately dump them.
+ See "Punning Names" in our Texinfo manual or in groff(7).
2026-01-13 G. Branden Robinson <[email protected]>
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 6eb50feef..16e2533ca 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -4231,8 +4231,8 @@ undefined
.eo
..
.de IE
-.\\*[debug@dump-args]\\
.ec
+\\*[debug@dump-args]\\
.debug@di
.ev
..
@@ -4258,9 +4258,9 @@ undefined
..
.\"------
.de WE
-.\\*[debug@dump-args]\\
-.it
.ec
+\\*[debug@dump-args]\\
+.it
.debug@di
.ev
.if d let@wa-junk .rm let@wa-junk
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit