[bug #68445] [troff] spurious warning when using `.bd TR 500` followed by garbage invalid in a numeric expression

"G. Branden Robinson" <[email protected]> Fri, 12 Jun 2026 15:38:15 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Update of bug #68445 (group groff):

                  Status:               Confirmed => Need Info
             Assigned to:                gbranden => deri

    _______________________________________________________

Follow-up Comment #5:

Okay, I may have a fix for this, but I couldn't pull on this thread without
tugging on bug #68256 as well.

Here's the new behavior.  The "debug" output will go away.


$ printf '.bd TR 500\t\\" Comment\n' | ./build/test-groff -ww 2>&1 | grep . ||
echo NO OUTPUT
troff:<standard input>:1: debug: GBR: emboldening is conditional because first
argument starts with non-numeral, character 'T'
troff:<standard input>:1: warning: no font mounted at position 500 [-w font]
troff:<standard input>:1: error: cannot select font for conditional
emboldening


What do you think?  I'll next go to bug #68256 and run this new code through
your most recent scenarios, and see how it fares.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68445>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaixgJwAKCRCqLAuaBUf3
TiooAP9Lm16BvJh3grK6esEHzolIfKTHI5G/vIVRPKTSzdDdOwD+LB8EiVe/8LYr
iee6CNJqZums+ar3Lf5OTr/QsT7VtQc=
=dQOV
-----END PGP SIGNATURE-----