gbranden pushed a commit to branch master
in repository groff.

commit 323e6affa05f55e26115d39c70b924462c5f4a55
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat May 3 00:55:14 2025 -0500

    [mdoc]: Fix Savannah #66410 (stop `Lb` warnings).
    
    * tmac/mdoc/doc-syms (Lb): Stop throwing warning if no description is
      available for the argument.  `Lb` usage is not universal among mdoc(7)
      documents; per Ingo Schwarze, FreeBSD and NetBSD use it, but OpenBSD
      does not.  (And in my opinion, a central registry for library
      descriptions is not tractable.)
    
    Fixes <https://savannah.gnu.org/bugs/?66410>.  Thanks to Andrew Bower
    for the report.
    
    ANNOUNCE: Acknowledge Andrew.
---
 ANNOUNCE           |  1 +
 ChangeLog          | 11 +++++++++++
 tmac/mdoc/doc-syms |  7 ++-----
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/ANNOUNCE b/ANNOUNCE
index 4d5df5c39..9702777f3 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -159,6 +159,7 @@ of this release.
 Alex Colomar
 Alexander Kanavin
 Alexis (surryhill)
+Andrew Bower
 Benno Schulenberg
 Bjarni Ingi Gislason
 Brian Inglis
diff --git a/ChangeLog b/ChangeLog
index 10638799b..d8f4bacee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2025-05-02  G. Branden Robinson <[email protected]>
+
+       * tmac/mdoc/doc-syms (Lb): Stop throwing warning if no
+       description is available for the argument.  `Lb` usage is not
+       universal among mdoc(7) documents; per Ingo Schwarze, FreeBSD
+       and NetBSD use it, but OpenBSD does not.  (And in my opinion, a
+       central registry for library descriptions is not tractable.)
+
+       Fixes <https://savannah.gnu.org/bugs/?66410>.  Thanks to Andrew
+       Bower for the report.
+
 2025-05-02  G. Branden Robinson <[email protected]>
 
        * tmac/doc.tmac: Unconditionally initialize `doc-do-capitalize`,
diff --git a/tmac/mdoc/doc-syms b/tmac/mdoc/doc-syms
index e93457c67..22c3505bf 100644
--- a/tmac/mdoc/doc-syms
+++ b/tmac/mdoc/doc-syms
@@ -880,11 +880,8 @@
 .
 .    ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
 .      ds doc-str-Lb1 "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
-.    el \{\
-.      doc-warn .Lb: no description available for library \
-'\*[doc-arg\n[doc-arg-ptr]]'
-.      ds doc-str-Lb1 library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
-.    \}
+.    el \
+.      ds doc-str-Lb1 "\*[doc-arg\n[doc-arg-ptr]]
 .
 .    \" replacing argument with result
 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb1]

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to