groff-commit
[Top][All Lists]
Advanced

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

[groff] 26/46: tmac/an-ext.tmac: Use more mnemonic reg names.


From: G. Branden Robinson
Subject: [groff] 26/46: tmac/an-ext.tmac: Use more mnemonic reg names.
Date: Wed, 7 Dec 2022 04:32:35 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit a618cd5dafefc79e94bca6261f6191240b6b875d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Dec 3 16:39:02 2022 -0600

    tmac/an-ext.tmac: Use more mnemonic reg names.
    
    * tmac/an-ext.tmac: Use more mnemonic register names, thanks to the
      recent freeing up of some name space.
        - mJ -> mH: saved automatic hyphenation mode
        - mX -> mE: formatting in EX/EE context (Boolean)
---
 ChangeLog        |  7 +++++++
 tmac/an-ext.tmac | 22 +++++++++++-----------
 2 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3f3003928..c7e939c40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,13 @@
        * tmac/tests/an_link-trailing-text-hugs-previous.sh: Do it.
        * tmac/tmac.am (tmac_TESTS): Run test.
 
+2022-12-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an-ext.tmac: Use more mnemonic register names, thanks to
+       the recent freeing up of some name space.
+       - mJ -> mH: saved automatic hyphenation mode
+       - mX -> mE: formatting in EX/EE context (Boolean)
+
 2022-12-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/pdf.tmac: Drop deletion of unused string `PDFHREF.TEXT`.
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index 466ea5051..74f7f8ded 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -41,12 +41,12 @@
 .\" and no way to save and restore it.  Set this to a reasonable value
 .\" for your implementation and preference.
 .ie !\n(.g \
-.  nr mJ 14
+.  nr mH 14
 .el \
-.  do nr mJ \n[.hy]
+.  do nr mH \n[.hy]
 .
-.nr mS 0 \" not in a SY/YS synopsis
-.nr mX 0 \" not in an EX/EE example
+.nr mS 0 \" in a SY/YS synopsis?
+.nr mE 0 \" in an EX/EE example?
 .
 .
 .\" Declare start of command synopsis.  Sets up hanging indentation.
@@ -74,7 +74,7 @@
 .de YS
 .  in \\n(mIu
 .  ad \\n(mA
-.  hy \\n(mJ
+.  hy \\n(mH
 .  rr mA
 .  rr mI
 .  nr mS 0
@@ -91,7 +91,7 @@
 .de mQ
 .  nh
 <\\*(m1>\\$1
-.  hy \\n(mJ
+.  hy \\n(mH
 ..
 .
 .
@@ -136,7 +136,7 @@
 .    I \\$1
 .  el \
 .    IR \\$1 (\\$2)\\$3
-.  hy \\n(mJ
+.  hy \\n(mH
 ..
 .\}
 .
@@ -153,13 +153,13 @@
 .if \n(.g-\n(mG \{\
 .de EX
 .  br
-.  if !\\n(mX \{\
+.  if !\\n(mE \{\
 .    nr mF \\n(.f
 .    nr mP \\n(PD
 .    nr PD 1v
 .    nf
 .    ft \\*(mC
-.    nr mX 1
+.    nr mE 1
 .  \}
 ..
 .\}
@@ -169,11 +169,11 @@
 .if \n(.g-\n(mG \{\
 .de EE
 .  br
-.  if \\n(mX \{\
+.  if \\n(mE \{\
 .    ft \\n(mF
 .    nr PD \\n(mP
 .    fi
-.    nr mX 0
+.    nr mE 0
 .  \}
 ..
 .\}



reply via email to

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