URL: <https://savannah.gnu.org/bugs/?68242>
Summary: [troff] allow .warn request to accept category names
Group: GNU roff
Submitter: None
Submitted: Tue 14 Apr 2026 05:04:30 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Feature change
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 14 Apr 2026 05:04:30 PM UTC By: Anonymous
Branden wrote in a recent email
(http://lists.gnu.org/r/groff/2026-04/msg00024.html), "it might be nice to
extend the `warn` request's syntax to support chmod(1)-style expressions.
.warn -font
.warn =all
.warn =w-font
.warn =all+style-missing"
For cross-roff compatibility, groff could support the same syntax Heirloom
troff uses with its .warn request. Section 21.4 of the "Heirloom
Documentation Tools Nroff/Troff User's Manual" documents the .warn request as
follows.
"Control warning messages, which may be given either numerically as bits or
symbolically as names. With a + sign, the respective bit or name is enabled in
addition to the currently enabled categories; with a - sign, it is disabled.
Omitting the sign sets the categories exactly to the given bit or name. *.warn
0* disables all warnings."
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68242>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
