bugGNU roff - Bugs: bug #63613, [mm] first TM number omitted in...

 
 

bug #63613: [mm] first TM number omitted in memorandum type 1

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Tue 03 Jan 2023 09:12:39 PM UTC
   
 
Category:  Macro package 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
   

Fri 06 Jan 2023 09:21:40 PM UTC, comment #1: 


commit 2885057a69a46753c2b4b9bc5cbbfebd1436f3ee
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Jan 3 15:21:57 2023 -0600

    [mm]: Regression-test Savannah #63613.

    * contrib/mm/tests/MT-1-reports-all-TM-numbers.sh: Do it.
    * contrib/mm/mm.am (mm_TESTS): Run test.

    Test fails at this commit.

commit 65d183248377b03586e53b1ac4fe556f0c134774
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Jan 3 15:25:34 2023 -0600

    [mm]: Fix Savannah #63613.

    * contrib/mm/mm/0.MT (cov*print-authors): Iterate through _all_
      technical memorandum numbers instead of stopping one shy of the last.
      Problem appears to date back to introduction of TM support for
      memorandum type 1 in commit a48ab7b6d (groff 1.05, 1992-03-18).

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


G. Branden Robinson <gbranden>
Group administrator
Tue 03 Jan 2023 09:12:39 PM UTC, original submission:  

Input:


$ cat ATTIC/tm.mm
.TL
My Memo
.AU "J.\& Random Hacker"
.TM 23-SKIDOO 24-URTHRU
.MT 1
This is my memo.
.
There are many like it but this one is mine.


groff 1.22.4 output:


$ nroff -mm ATTIC/tm.mm | head -n 30











      sMyjMemo                                      datJanuary 3, 2023

                                                    froJ. Random Hacker

                                                       TM 23‐SKIDOO



                           MEMORANDUM FOR FILE

       This  is  my  memo.   There are many like it but this one is
       mine.









Ignoring the overprinting of "subject:", "date:" and "from:" for the moment, we see that the second TM number is missing.

This is due to an off-by-one error in contrib/mm/mm/0.MT:cov*print-authors.

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
    2023-01-06 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code