[Top][All Lists]

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

[bug #57583] [ms] stop manipulating warnings

From: G. Branden Robinson
Subject: [bug #57583] [ms] stop manipulating warnings
Date: Sun, 26 Feb 2023 19:56:50 -0500 (EST)

Follow-up Comment #7, bug #57583 (project groff):

commit 5aa934e701ac96c48cad71eae39ddb5817a7399c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu Feb 6 17:17:38 2020 +1100

    ms: Cease warning level manipulation.
    Stop ms macro package from manipulating warnings.
    * tmac/s.tmac: Remove code block that attempted to enable all
      warnings "only if none are given on the command line".  It did this by
      simply comparing the value of the warn register (\n[.warn]) against
      the default value; but of course, a user could specify -w options that
      exactly matched the default and the test would not be able to tell,
      causing puzzling and undesired behavior.  Furthermore, the hard-coded
      default was out of date and did not correspond to recent releases of
      groff.  If you want all warnings on, use the ".warn" request with no
      arguments in your ms document or pass "-w w" to groff (see troff(1) or
      the Texinfo manual for more on warnings).
    Thanks to Bjarni Ingi Gislason for bringing this issue to our attention.
    Resolves <https://savannah.gnu.org/bugs/?57583>.


Reply to this item at:


Message sent via Savannah

reply via email to

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