[bug #68511] [troff] `hcode` doesn't work on ordinary characters since commit 994fcce775, 2026-05-24

"G. Branden Robinson" <[email protected]> Sat, 11 Jul 2026 19:55:59 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Follow-up Comment #10, bug #68511 (group groff):

Instrumenting the function revealed stinky fish.


character 'a'
  is not translated
  does not have a macro
  special translation: 0
  hyphenation code: 97
  inherent flags: 0 (none)
  asciify code: 0
  ASCII code: 97
  Unicode mapping: U+0061
  is found
  is transparently translatable
  is not translatable as input
  mode: normal
troff:ATTIC/hcode-68511.groff:2: debug: GBR: applying hyphenation to character
'a'
troff:ATTIC/hcode-68511.groff:2: debug: GBR: applying hyphenation from
character 'a'
troff:ATTIC/hcode-68511.groff:2: debug: GBR: bottom of loop, new token is a
space
troff:ATTIC/hcode-68511.groff:2: debug: GBR: applying hyphenation to character
'b'
troff:ATTIC/hcode-68511.groff:2: debug: GBR: applying hyphenation from
character 'b'
troff:ATTIC/hcode-68511.groff:2: debug: GBR: bottom of loop, new token is a
newline
character 'a'
  is not translated
  does not have a macro
  special translation: 0
  hyphenation code: 97
  inherent flags: 0 (none)
  asciify code: 0
  ASCII code: 97
  Unicode mapping: U+0061
  is found
  is transparently translatable
  is not translatable as input
  mode: normal


The loop isn't doing **nothing**.

It's doing a whole lot of idempotent stuff!

Watch the busy beaver work!

(This method employed is not good candidate for a busy beaver contest.)


    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalLYDwAKCRCqLAuaBUf3
TrVzAP9CSVWzCawnIKjXSfCpmDEgQcWHlBdzFQRlUkunuAddFAEA2ZwR8q3cuXuX
qZ/vJFL/oMnu0vfNi3PUVXQYPY2q8wI=
=BAMG
-----END PGP SIGNATURE-----