gbranden pushed a commit to branch master
in repository groff.

commit 6102ebbbdd9d9aa6dee273ca80ac7946ddc2b741
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Aug 3 02:56:01 2025 -0500

    [mm]: Improve debugging output.
    
    * contrib/mm/m.tmac (debug@little-dump, debug@big-dump, S): In debugging
      output, report units associated with value of `.s` register as `z`
      ("typographical" points), not `p` ("spacing" points}.
---
 contrib/mm/ChangeLog | 6 ++++++
 contrib/mm/m.tmac    | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 8a2698601..d22c0868d 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2025-08-03  G. Branden Robinson <[email protected]>
+
+       * m.tmac (debug@little-dump, debug@big-dump, S): In debugging
+       output, report units associated with value of `.s` register as
+       `z` ("typographical" points), not `p` ("spacing" points}.
+
 2025-07-29  G. Branden Robinson <[email protected]>
 
        * mmroff.pl: Rename scalar `no_exec` to `want_only_xref_update`
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 14005d8a9..632487da8 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -525,13 +525,13 @@ http://savannah.gnu.org/bugs/?group=groff.
 .\" We assume that people calling these macros understand that register
 .\" values are stored in basic units.
 .de debug@little-dump
-.tmc \\$1:\\n[.F]:\\n[c.] ll=\\n[.l] vs=\\n[.v] ps=\\n[.s],\\n[.ps]
+.tmc \\$1:\\n[.F]:\\n[c.] ll=\\n[.l] vs=\\n[.v] ps=\\n[.s]z,\\n[.ps]s
 .tm1 " in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 ..
 .de debug@big-dump
 .nr debug*n 1n
 .nr debug*m 1m
-.tmc \\$1:\\n[.F]:\\n[c.] ll=\\n[.l] vs=\\n[.v] ps=\\n[.s] in=\\n[.i]
+.tmc \\$1:\\n[.F]:\\n[c.] ll=\\n[.l] vs=\\n[.v] ps=\\n[.s]z in=\\n[.i]
 .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]
@@ -819,7 +819,7 @@ hd*last-hsize=\\n[hd*last-hsize]u
 .\"
 .if \\n[D]>=6 \{\
 .      tmc \\$0: misc*a=\\*[misc*a], misc*b=\\*[misc*b]
-.      tmc " => ps:\\n[.s]p (\\n[@psu]u), vs:\\n[@vsp]p (\\n[@vs]u),
+.      tmc " => ps:\\n[.s]z (\\n[@psu]u), vs:\\n[@vsp]p (\\n[@vs]u),
 .      tm1 " (res:\\n[@res])
 .\}
 .nr misc*S-ps  \\n[misc*S-ps1]

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to