groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: * tmac/strip.sed: Stop rewriting symbol names.


From: G. Branden Robinson
Subject: [groff] 01/01: * tmac/strip.sed: Stop rewriting symbol names.
Date: Sun, 12 Nov 2017 09:07:25 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit ec303ca205c6471a95d0e874cbea3baba5a76f4b
Author: G. Branden Robinson <address@hidden>
Date:   Sun Nov 12 09:03:35 2017 -0500

    * tmac/strip.sed: Stop rewriting symbol names.
    
    A substitution originally intended to strip the "doc-" prefix off of
    mdoc macro and string names unintentionally caught some mom stuff.
    Harmlessly in this instance, but with potentially surprising future
    effects.  Remove (only) this substitution per discussion in
    https://lists.gnu.org/archive/html/groff/2017-11/msg00055.html et
    sequentia.
    
    Also migrate comments (in both sed _and_ roff syntax) away from
    `quotes'.
    
    Signed-off-by: G. Branden Robinson <address@hidden>
---
 ChangeLog      | 12 ++++++++++++
 tmac/strip.sed |  7 +++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5474774..2a35373 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2017-11-12  G. Branden Robinson <address@hidden>
+
+       * tmac/strip.sed: Stop rewriting symbol names.
+
+       A substitution originally intended to strip the "doc-" prefix
+       off of mdoc macro and string names unintentionally caught some
+       mom stuff.  Harmlessly in this instance, but with potentially
+       surprising future effects.  Remove (only) this substitution per
+       discussion in
+       https://lists.gnu.org/archive/html/groff/2017-11/msg00055.html
+       et sequentia.
+
 2017-11-11  Bjarni Ingi Gislason <address@hidden>
 
        * src/devices/grolbp/lbp.cpp (lbp_printer::setfillmode): Address
diff --git a/tmac/strip.sed b/tmac/strip.sed
index e52f93f..c2c9e89 100644
--- a/tmac/strip.sed
+++ b/tmac/strip.sed
@@ -1,7 +1,7 @@
 2 i\
-.\\" This is a generated file, created by `tmac/strip.sed' in groff's\
-.\\" source code bundle from a file having `-u' appended to its name.
-# strip comments, spaces, etc., after a line containing `%beginstrip%'
+.\\" This is a generated file, created by 'tmac/strip.sed' in groff's\
+.\\" source code bundle from a file having '-u' appended to its name.
+# strip comments, spaces, etc., after a line containing '%beginstrip%'
 /%beginstrip%/,$ {
   s/^\.[        ]*/./
   s/^\.\\".*/./
@@ -10,6 +10,5 @@
   s/\\#.*/\\/
   /.[ad]s/!s/[  ]*\\"//
   /.[ad]s/s/\([^        ]*\)\\"/\1/
-  s/\([^/]\)doc-/\1/g
 }
 /^\.$/d



reply via email to

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