URL:
  <https://savannah.gnu.org/bugs/?68278>

                 Summary: [troff] `.itm` register value not cleared after
input trap springs
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Fri 24 Apr 2026 07:52:08 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 24 Apr 2026 07:52:08 PM UTC By: G. Branden Robinson <gbranden>
This is a bug in the read-only register `.itm`, introduced in _groff_ 1.24.0.


$ cat ATTIC/dot-itm-bug.groff
.pnr .itm
.de MM
.  tm BOING
..
.it 3 MM
.pnr .itm
foo
bar
baz
.pnr .itm
$ groff -a ATTIC/dot-itm-bug.groff
.itm
.itm    MM
<beginning of page>
BOING
.itm    MM
foo bar baz


The last line starting ".itm" should have its remainder blank, because no
input trap is still pending.







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to