bugGNU roff - Bugs: bug #60388, [PATCH] contrib/mm/m.tmac: quote...

 
 

bug #60388: [PATCH] contrib/mm/m.tmac: quote the argument of "misc@toupper" in macro "let@print-head"

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Tue 13 Apr 2021 10:21:53 PM UTC
   
 
Category:  Macro mm Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 30 May 2021 03:20:29 PM UTC, comment #1: 


commit d3ad6b14b4ceb5f542694723c98f667be6b1bc7d
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date:   Tue Apr 13 22:17:12 2021 +0000

    Fix Savannah #60673 (1/3).

    * contrib/mm/m.tmac (let@print-head): Quote the interpolation of the
      string `let*lo-SJ`.

    Solves part of bug #60373, "[t]he subject line shows only the first
    word".

    Fixes <https://savannah.gnu.org/bugs/?60388>.

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


G. Branden Robinson <gbranden>
Group administrator
Tue 13 Apr 2021 10:21:53 PM UTC, original submission:  

From 4bd076b93f04bfbeab98f6bc788b33f8fe47063c Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Tue, 13 Apr 2021 22:17:12 +0000
Subject: [PATCH] contrib/mm/m.tmac: quote the argument of "misc@toupper" in
 macro "let@print-head"

  The macro "misc@toupper" uses "$1" for its letter-case transformation.

  Solves a part of bug #60373, "The subject line shows only the first
word;".

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

diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index ec7b1912..bc9dcddf 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -3486,7 +3486,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .if d let*lo-SJ \{\
 .        ie '\\*[let*type]'SP' \{\
 .                sp 2
-.                misc@toupper \\*[let*lo-SJ]
+.                misc@toupper "\\*[let*lo-SJ]"
 .                sp
 .        \}
 .        el \{\
--
2.30.2


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 (Updated the item)
  • -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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-30 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2021-05-30 gbranden StatusNone In Progress
        Assigned toNone gbranden

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code