gbranden pushed a commit to branch master
in repository groff.

commit f47bbcc7e0baa263f0b504e5eaf51fb7bf82cc11
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jul 14 10:23:43 2024 -0500

    [man]: Drop empty `DS`, `DE` macro definitions.
    
    * tmac/an-ext.tmac (DS, DE): Drop (empty) macro definitions, introduced
      in groff 1.20 (January 2009).
    
    * NEWS: Document this.  Technically, it's an interface change.  Any man
      page calling these macros (without defining them itself) will prompt
      warnings if GNU troff is given the `-wmac` option (or equivalent).
    
    This change will make it easier to identify pages that "use" the `DS`
    and `DE` macros (pointlessly for the past 15+ years).
---
 ChangeLog        |  9 +++++++++
 NEWS             |  3 +++
 tmac/an-ext.tmac | 12 ------------
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3c8076194..e6b478e99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-07-14  G. Branden Robinson <[email protected]>
+
+       * tmac/an-ext.tmac (DS, DE): Drop (empty) macro definitions,
+       introduced in groff 1.20 (January 2009).
+       * NEWS: Document this.  Technically, it's an interface change.
+       Any man page calling these macros (without defining them itself)
+       will prompt warnings if GNU troff is given the `-wmac` option
+       {or equivalent}.
+
 2024-03-19  Alexis <[email protected]>
 
        [grohtml]: Migrate from psselect(1) to ps2ps(1).
diff --git a/NEWS b/NEWS
index 009054f23..679c526bd 100644
--- a/NEWS
+++ b/NEWS
@@ -293,6 +293,9 @@ o The an (man) macro package's `IP` macro no longer honors 
the formerly
   punctuation or a list enumerator for `IP`'s first argument, consider
   migrating to `TP`.
 
+o The an-ext.tmac macro file no longer defines `DS` and `DE` macros.  It
+  had defined them as empty (undocumently) since 2009.
+
 o The doc (mdoc) macro package's `Mt` macro now sets its argument in
   roman, not italics (or whatever the string `doc-Pa-font` was
   configured to use).  A new string, `doc-Mt-font`, for use in
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index d31b5160e..178afceff 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -224,18 +224,6 @@
 ..
 .\}
 .
-.
-.\" Start display.
-.de DS
-.  \" XXX to be written
-..
-.
-.
-.\" End display.
-.de DE
-.  \" XXX to be written
-..
-.
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72

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

Reply via email to