bugGNU roff - Bugs: bug #58143, [PATCH] man/groff.7.man: escape a...

 
 

bug #58143: [PATCH] man/groff.7.man: escape a register in a macro

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 08 Apr 2020 09:56:47 PM UTC
   
 
Category:  Core Severity:  2 - Minor
Item Group:  Documentation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Feb 2023 07:22:02 AM UTC, comment #2: 


commit ac52b226b5722c20d1d817edb602054660620cc5
Author:     Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
AuthorDate: Wed Apr 8 21:50:30 2020 +0000
Commit:     G. Branden Robinson <g.branden.robinson@gmail.com>
CommitDate: Sat Apr 11 13:45:23 2020 +1000

    man/groff.7.man: escape a register in a macro

    Change '\n[.$]' from a constant to a variable in a macro.

    Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

    This change has no effect on the page output, but is more correct per
    ยง5.21.1 ("Copy-in Mode") of the groff Texinfo manual.

    Fixes Savannah #58143.


G. Branden Robinson <gbranden>
Group administrator
Sat 11 Apr 2020 03:55:46 AM UTC, comment #1: 

Thanks, Bjarni!

Fixed in ac52b226b5722c20d1d817edb602054660620cc5.

G. Branden Robinson <gbranden>
Group administrator
Wed 08 Apr 2020 09:56:47 PM UTC, original submission:  

From 8a612b930fb82f0626336e633386d0af5a1af8ad Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Wed, 8 Apr 2020 21:50:30 +0000
Subject: [PATCH] man/groff.7.man: escape a register in a macro

  Change '\n[.$]' from a constant to a variable in a macro.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 man/groff.7.man | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/groff.7.man b/man/groff.7.man
index d81fe29d..51a67a59 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -68,7 +68,7 @@ groff \- a short reference for the GNU roff language
 .
 .\" synopsis of a request
 .de REQ
-.  ie \n[.$]=1 \{\
+.  ie \\n[.$]=1 \{\
 .    Text \f[CB]\\$1\f[]
 .  \}
 .  el \{\
--
2.25.1


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-11 gbranden CategoryNone Core
        Severity3 - Normal 2 - Minor
        StatusNone Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code