gbranden pushed a commit to branch master
in repository groff.

commit 63190cb0e2bf41f84ab2b3dd92dc32b9df108539
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Mar 31 19:14:04 2026 -0500

    [mm]: Fix Savannah #68201.
    
    * contrib/mm/m.tmac (IA, WA): Stop disabling the escape character.
    * contrib/mm/m.tmac (IE, WE): Stop reënabling the escape character.
    
    Fixes <https://savannah.gnu.org/bugs/?68201>.  Problem appears to date
    back to groff 1.10 (November 1995).  Thanks to Alexis Hildebrandt for
    the report.
    
    NEWS: Document the change in behavior.
---
 NEWS                 | 23 +++++++++++++++++++++++
 contrib/mm/ChangeLog |  9 +++++++++
 contrib/mm/m.tmac    |  4 ----
 3 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index 100a8b6fe..78a9d1acb 100644
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,29 @@ troff
    the request (and issues a warning in category "range"), leaving the
    operand (first request argument) unchanged instead of emptying it.
 
+Macro packages
+--------------
+
+*  The m (mm) macro package's `IA` and `WA` macros--used only with the
+   "letter" document type configure by calling the `LT` macro--no longer
+   disables the escape character, and their counterparts `IE` and `WE`
+   no longer re�nable it.  This change makes groff mm consistent with
+   DWB 3.3 mm.  If you require the previous groff mm behavior, consider
+   writing and using wrapper macros such as the following in your
+   document.
+
+   .de iA
+   .IA
+   .eo
+   ..
+   .de iE
+   .ec
+   .IE
+   ..
+
+   These macro definitions are harmlessly redundant when formatting such
+   a document with an older version of groff mm.
+
 Miscellaneous
 -------------
 
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index dc83c4cf6..95695111e 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,12 @@
+2026-03-31  G. Branden Robinson <[email protected]>
+
+       * m.tmac (IA, WA): Stop disabling the escape character.
+       * m.tmac (IE, WE): Stop re�nabling the escape character.
+
+       Fixes <https://savannah.gnu.org/bugs/?68201>.  Problem appears
+       to date back to groff 1.10 (November 1995).  Thanks to Alexis
+       Hildebrandt for the report.
+
 2026-03-31  G. Branden Robinson <[email protected]>
 
        Add regression test for Savannah #68201.  The `IA` and `WA`
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 00ff11053..ea0053133 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -4247,10 +4247,8 @@ undefined
 .@reset
 'nf
 .debug@di let@ia-div
-.eo
 ..
 .de IE
-.ec
 \\*[debug@dump-args]\\
 .debug@di
 .ev
@@ -4267,7 +4265,6 @@ undefined
 'nf
 .debug@di let@wa-div
 .it \\n[Letwam] let@wa-drain
-.eo
 ..
 .\"------
 .de let@wa-drain
@@ -4277,7 +4274,6 @@ undefined
 ..
 .\"------
 .de WE
-.ec
 \\*[debug@dump-args]\\
 .it
 .debug@di

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

Reply via email to