bugGNU roff - Bugs: bug #60522, [ms] want diagnostics when...

 
 

bug #60522: [ms] want diagnostics when highlight macros called with excess args

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Tue 04 May 2021 06:44:49 PM UTC
   
 
Category:  Macro package ms Severity:  1 - Wish
Item Group:  Feature change Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 May 2021 12:14:10 PM UTC, comment #1: 


commit 9a70d949aa56f1d29710af67456df8513269dc32
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed May 5 07:00:24 2021 +1000

    [ms]: Warn if highlight macros given excess args.

    * tmac/s.tmac (NL, SM, LG): Issue warning diagnostic if macro called
      with arguments.
      (par*define-font-macro): Construct font macro with diagnostic to warn
      if called with excess arguments.
      (UL, BX): Issue warning diagnostic if macro called with excess
      arguments.

    Fixes <https://savannah.gnu.org/bugs/index.php?60522>.


G. Branden Robinson <gbranden>
Group administrator
Tue 04 May 2021 06:44:49 PM UTC, original submission:  

Not really a "new feature" per se, just an ergonomic aid to help users from losing pieces of text down a black hole.

The ms "highlighting" macros are a motley crew that take a varying quantity of arguments, from zero (LG, SM, NL); one (BX); two (UL); up to three (R, B, I, BI, CW).

In every case, if too many arguments are given, they are simply ignored.  Under-specifying arguments is likely to be visible in formatted text, but providing too many is harder to discern.

This is also easy to remedy.  Working on this now.

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 3 latest changes.

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

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code