bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65474] spurious "warning: unbalanced 'el' request" when formatting


From: G. Branden Robinson
Subject: [bug #65474] spurious "warning: unbalanced 'el' request" when formatting zic(8) from TZDB project
Date: Sun, 17 Mar 2024 14:29:28 -0400 (EDT)

Update of bug #65474 (group groff):

                Category:                    None => Core                   
                Severity:              3 - Normal => 2 - Minor              
              Item Group:                    None => Warning/Suspicious
behaviour
                  Status:                    None => Confirmed              
                 Summary: false positive "warning: unbalanced 'el' request"
when processing TZDB zic.8 => spurious "warning: unbalanced 'el' request" when
formatting zic(8) from TZDB project

    _______________________________________________________

Follow-up Comment #2:

Can reproduce.

I reduced Paul's exhibit further.


$ cat EXPERIMENTS/eggert2.roff 
.ie \nA .tm register A is truthy
.el .ie t .tm in typesetter mode
.el .tm in terminal mode


In terms of the `tm` terminal messages above, I get equivalent results on all
of _groff_ 1.22.3, 1.22.4, 1.23.0, and git HEAD; Heirloom Doctools _troff_ and
_nroff_; DWB 3.3 _troff_ and _nroff_; and Seventh Edition Unix _troff_ and
_nroff_.

I'll share output only the last since it's the most interesting in an
archeological sense.


Restricted rights: Use, duplication, or disclosure
is subject to restrictions stated in your contract with
Western Electric Company, Inc.
Thu Sep 22 22:07:57 EDT 1988

login: dmr
$ cat > eggert2.roff
.ie \nA .tm register A is truthy
.el .ie t .tm in typesetter mode
.el .tm in terminal mode
$ nroff eggert2.roff
in terminal mode
$ nroff -rA1 eggert2.roff
register A is truthy
$ troff -t -rA1 eggert2.roff
@o`register A is truthy
`````````````````````````````````````````````````````````````````~@IAAAAAAAA$

$ troff -t eggert2.roff
@o`in typesetter mode
`````````````````````````````````````````````````````````````````~@IAAAAAAAA$
sync
$ 
login: 
Simulation stopped, PC: 002306 (MOV (SP)+,177776)


The same spurious diagnostic is emitted in all cases with all tested versions
of _groff_, though the correct branch is also taken in all cases.

Setting to "Minor" severity because it is only an annoyance and does no
violence to formatting.

Still, would be nice to fix because spurious diagnostics reduce confidence in
others.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]