[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #51609] [PATCH] src: hdtbl.tmac-u: Fix one formatting and one bug
From: |
G. Branden Robinson |
Subject: |
[bug #51609] [PATCH] src: hdtbl.tmac-u: Fix one formatting and one bug |
Date: |
Sat, 22 Jan 2022 02:20:57 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
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 <g.branden.robinson@gmail.com>
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 <bjarniig@rhi.hi.is>
Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
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/
- [bug #51609] [PATCH] src: hdtbl.tmac-u: Fix one formatting and one bug,
G. Branden Robinson <=