gbranden pushed a commit to branch master
in repository groff.
commit ff87da8aa7a1e82273e607f243e6ea2d5fb42b52
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Nov 20 16:28:55 2026 -0600
[troff]: Rearrange `pev` report.
* src/roff/troff/env.cpp (environment::dump): Rearrange report to
disclose "forced" adjustment (caused by `\p` escape sequence)
immediately after other alignment/adjustment information, so that we
more closely group related properties.
---
ChangeLog | 7 +++++++
src/roff/troff/env.cpp | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 573307d2c..f964477a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-11-20 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/env.cpp (environment::dump): Rearrange report
+ to disclose "forced" adjustment (caused by `\p` escape sequence)
+ immediately after other alignment/adjustment information, so
+ that we more closely group related properties.
+
2026-11-20 G. Branden Robinson <[email protected]>
* src/roff/troff/node.cpp (configure_track_kerning_request)
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 6dd51c83b..bd9d2b312 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3692,6 +3692,7 @@ void environment::dump()
: adjust_mode == ADJUST_CENTER
? "center/off"
: "right/off");
+ errprint(" forcing adjustment: %1\n", is_spreading ? "yes" : "no");
if (centered_line_count > 0)
errprint(" lines remaining to center: %1\n", centered_line_count);
if (right_aligned_line_count > 0)
@@ -3740,7 +3741,6 @@ void environment::dump()
errprint(" computing tab stops from: %1\n",
using_line_tabs ? "output line start (\"line tabs\")"
: "input line start");
- errprint(" forcing adjustment: %1\n", is_spreading ? "yes" : "no");
if (margin_character_node != 0 /* nullptr */) {
errprint(" margin character flags: %1\n",
margin_character_flags == MC_ON
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit