groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: contrib/groffer/roff2.1.man: Fix register save.


From: G. Branden Robinson
Subject: [groff] 01/01: contrib/groffer/roff2.1.man: Fix register save.
Date: Sun, 19 Apr 2020 07:16:58 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 762fab3e454786cc5e666f6d6324f455470b8ea4
Author: G. Branden Robinson <address@hidden>
AuthorDate: Sun Apr 19 20:33:39 2020 +1000

    contrib/groffer/roff2.1.man: Fix register save.
    
    roff2.1.man generates several nearly-identical pages from the same
    source*.  Use register name based on the name of the generated page, so
    they don't collide.
    
    Also add bug reference to changelog item.
    
    * This seems pretty gratituitous to me; their interfaces don't differ at
      all (no difference in accepted options, for example), and each page
      makes reference to all the others.  I find that a dubious choice, and
      would just have one page with a comma-delimited set of topics in the
      "Name" section.
---
 ChangeLog                   | 2 ++
 contrib/groffer/roff2.1.man | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index df467a8..4b3d68f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@
        mode is off.  This is the only part of this changeset that was
        not automated.
 
+       Fixes <https://savannah.gnu.org/bugs/index.php?58162>.
+
 2020-04-16  G. Branden Robinson <address@hidden>
 
        Implement new read-only .cp register.
diff --git a/contrib/groffer/roff2.1.man b/contrib/groffer/roff2.1.man
index 2f30c4e..3d0d4ea 100644
--- a/contrib/groffer/roff2.1.man
+++ b/contrib/groffer/roff2.1.man
@@ -4,7 +4,7 @@ roff2@ROFF2MODE@ \- transform roff code into @ROFF2MODE@ mode
 .
 .
 .\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
-.do nr *groff_roff2_1_man_C \n[.cp]
+.do nr *groff_roff2@ROFF2MODE@_1_man_C \n[.cp]
 .cp 0
 .
 .
@@ -221,7 +221,7 @@ Bernd Warken
 .
 .
 .\" Restore compatibility mode (for, e.g., Solaris 10/11).
-.cp \n[*groff_roff2_1_man_C]
+.cp \n[*groff_roff2@ROFF2MODE@_1_man_C]
 .
 .
 .\" Local Variables:



reply via email to

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