Update of bug #51609 (project groff):

              Item Group:                    None => Lint                   

    _______________________________________________________

Follow-up Comment #12:

There was one part of this ticket that was arguably not lint.


commit 5dc52d9d7865955cf3aef71af74fc99110f5e5a5
Author: G. Branden Robinson <[email protected]>
Date:   Wed Nov 1 03:17:07 2017 -0400

    hdtbl.tmac-u: Fix ignored escape sequence.
    
    The escape '\c' removes everything after it, except "\R..." ("info
    groff").
    
    Fixes Savannah #51609.
    
    Signed-off-by: Bjarni Ingi Gislason <[email protected]>
    Signed-off-by: G. Branden Robinson <[email protected]>

diff --git a/contrib/hdtbl/hdtbl.tmac-u b/contrib/hdtbl/hdtbl.tmac-u
index 04305f960..a6b2bf37a 100644
--- a/contrib/hdtbl/hdtbl.tmac-u
+++ b/contrib/hdtbl/hdtbl.tmac-u
@@ -65,7 +65,7 @@ along with this program.  If not, see
<http://www.gnu.org/licenses/>.
 .ds t*cptn "".sp .4" \
             ".t*pv 1.0 1.0" \
             ".ad l" \
-            "\m[\\*[t*fgc]]Table \\n+[t*cptn]:\0\c\k*"\"
+            "\m[\\*[t*fgc]]Table \\n+[t*cptn]:\0\k*\c"\"
 .
 .
 .\" %beginstrip%


It turns out it was, however.  The ordering of these escape sequences makes no
difference.

Illustration:


$ cat EXPERIMENTS/horizontal-mark-after-interruption.roff
.nf
going to set mark A\kA\c
\(emmark set
going to set mark B\c\kB
\(emmark set
going to set mark C\cfoobarbaz\kC
\(emmark set
Mark A is \nA.
Mark B is \nB.
Mark C is \nC.


The fact that registers 'B' and 'C' are not zero means that

> The escape '\c' removes everything after it, except "\R..." ("info groff").

...the foregoing claim is incorrect.

I'll see if our Texinfo manual misstates this matter.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?51609>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to