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

                 Summary: [mm] fails to render `ML` list when macro call's
second argument is empty
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Wed 18 Feb 2026 07:24:22 PM UTC
                Category: Macro package mm
                Severity: 4 - Important
              Item Group: None
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 18 Feb 2026 07:24:22 PM UTC By: G. Branden Robinson <gbranden>
Spawned off of bug #68059.

Observe:


$ cat ./ATTIC/680xx.mm
.P
This is an
.I mm
document using an
.B ML
marked list that harmlessly specifies an empty second argument to the
.B ML
call.
.ML * ""
.LI
alpha
.LI
beta
.LI
gamma
.LE
$ ~/groff-1.23.0/bin/groff -Tutf8 -mm ./ATTIC/680xx.mm | cat -s

                                   ‐ 1 ‐

       This  is  an  mm  document  using  an  ML  marked  list that
       harmlessly specifies an empty  second  argument  to  the  ML
       call.

       * alpha

       * beta

       * gamma

$ ~/groff-HEAD/bin/groff -Tutf8 -mm ./ATTIC/680xx.mm | cat -s
m.tmac:./ATTIC/680xx.mm:9: error: ML: text-indent argument is not numeric:

                                   ‐ 1 ‐

       This  is  an  mm  document  using  an  ML  marked  list that
       harmlessly specifies an empty  second  argument  to  the  ML



I'll be fixing the truncated error diagnostic (which shouldn't even be thrown
here) without a corresponding Savannah ticket; it's a ham-fisted request usage
error.

Not accepting an empty second argument to the `ML` macro is the bug here, and
it's a regression from _groff_ 1.23.0.







    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to