bugGNU roff - Bugs: bug #60034, [mdoc] `Mt` macro should validate...

 
 

bug #60034: [mdoc] `Mt` macro should validate its arguments

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Wed 10 Feb 2021 06:32:32 PM UTC
   
 
Category:  Macro mdoc Severity:  1 - Wish
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.24.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 17 Feb 2024 06:12:53 PM UTC, comment #1: 

Fixed unwittingly last month.


commit 736100ba3473df7e89ad50b58bbaebec618f0219
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sun Jan 28 17:03:46 2024 -0600

    [mdoc]: Improve support for `Mt` macro.

    * tmac/doc.tmac (Mt): Give macro a real implementation instead of
      wrapping `Pa`.  Among other benefits, this means that it recognizes a
      `doc-Mt-font` string for styling of the argument, instead of using the
      styling applied to `Pa`.

    * tmac/mdoc/doc-ditroff (doc-Mt-font):
    * tmac/mdoc/doc-nroff (doc-Mt-font): Define new strings.  Set email
      addresses in italics by default.

    * NEWS: Report change in font styling.


G. Branden Robinson <gbranden>
Group administrator
Wed 10 Feb 2021 06:32:32 PM UTC, original submission:  

My attempt at this, commit 854fec5025af62c6ba6b72f9075bc71317d83a60, did not work out so well.  See bug #60025.

Obtain an understanding of mdoc's macro argument parsing to fix this.

G. Branden Robinson <gbranden>
Group administrator

 

(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 (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
    2024-03-22 gbranden Planned ReleaseNone 1.24.0
    2024-02-17 gbranden StatusNone Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Summary[mdoc]: .Mt should validate its arguments [mdoc] `Mt` macro should validate its arguments
    2022-01-11 gbranden Item GroupNone Warning/Suspicious behaviour

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code