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

                 Summary: [mdoc] treats `.T` string as "callable"
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Wed 29 Oct 2025 07:28:00 AM UTC
                Category: Macro package mdoc
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 29 Oct 2025 07:28:00 AM UTC By: G. Branden Robinson <gbranden>
Background:

https://lists.gnu.org/archive/html/groff/2025-10/msg00054.html

...and follow-up messages.


$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Em foo .T bar\n'
| ~/groff-HEAD/bin/nroff -mandoc
foo(1)                       General Commands Manual
foo(1)

foo utf8.

groff test suite                   2025‐10‐28
foo(1)
$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Em foo .T bar\n'
| ~/groff-1.23.0/bin/nroff -mandoc
foo(1)                      General Commands Manual
foo(1)

foo utf8.

groff test suite                  2025‐10‐28
foo(1)
$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Em foo .T bar\n'
| ~/groff-1.22.4/bin/nroff -mandoc | cat -s
foo utf8.

$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Em foo .T bar\n'
| ~/groff-1.22.3/bin/nroff -mandoc | cat -s
foo utf8.

$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Em foo .T bar\n'
| mandoc | ul
foo(1)                      General Commands Manual
foo(1)

foo .T bar

groff test suite                  2025-10-28                  groff test
suite


Determine how the "old" _mdoc_ implementation from 4.4BSD-Lite2 behaves.
That's the one _groff_ used before Werner Lemberg and Ruslan Ermilov rewrote
it to leverage GNU _troff_ features.








    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to