gbranden pushed a commit to branch master
in repository groff.
commit cb22b655f000a6d35583bc058aea67cf06bc020f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Oct 7 13:36:06 2025 -0500
[mm]: Tweak debugging machinery.
* contrib/mm/m.tmac (debug@big-dump): Report value of `debug*m` since we
go to the trouble of defining it. Delete temporary registers
`debug*n` and `debug*m` after reporting them.
---
contrib/mm/ChangeLog | 6 ++++++
contrib/mm/m.tmac | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 8fa4e5bb5..c32c997fa 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2025-10-07 G. Branden Robinson <[email protected]>
+
+ * m.tmac (debug@big-dump): Report value of `debug*m` since we go
+ to the trouble of defining it. Delete temporary registers
+ `debug*n` and `debug*m` after reporting them.
+
2025-10-07 G. Branden Robinson <[email protected]>
* m.tmac: Improve usage diagnostics by not uselessly repeating
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 53e42689f..21aa01130 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -545,7 +545,8 @@ http://savannah.gnu.org/bugs/?group=groff.
.tm1 " ad=\\n[.j] fi=\\n[.u] pl=\\n[.p] page=\\n[%] .o=\\n[.o]
.tmc _______ .d=\\n[.d] .f=\\n[.f] .h=\\n[.h] .k=\\n[.k] .n=\\n[.n]
.tmc " .p=\\n[.p] .t=\\n[.t] .z=\\n[.z] nl=\\n[nl] dn=\\n[dn]
-.tm1 " n=\\n[debug*n]
+.tm1 " n=\\n[debug*n], m=\\n[debug*m]
+.rr debug*n debug*m
..
.\" ####### module par #################################
.nr par*indentation-eligible 1 \" indent following P if Pt=2
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit