bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #57638] Regression: -me's .nm macro broken as of commit 2cc968c


From: G Helffrich
Subject: Re: [bug #57638] Regression: -me's .nm macro broken as of commit 2cc968c7
Date: Mon, 20 Jan 2020 15:25:44 +0000

Dear All -

        Here’s a patch against current unstripped -me macro (attached).

Attachment: e.tmac-u.diff
Description: Binary data


> On 20 Jan 2020, at 02:35, Dave <address@hidden> wrote:
> 
> URL:
>  <https://savannah.gnu.org/bugs/?57638>
> 
>                 Summary: Regression: -me's .nm macro broken as of commit
> 2cc968c7
>                 Project: GNU troff
>            Submitted by: barx
>            Submitted on: Sun 19 Jan 2020 08:35:22 PM CST
>                Category: Macro - others
>                Severity: 3 - Normal
>              Item Group: Incorrect behaviour
>                  Status: None
>                 Privacy: Public
>             Assigned to: None
>             Open/Closed: Open
>         Discussion Lock: Any
>         Planned Release: None
> 
>    _______________________________________________________
> 
> Details:
> 
> Commit 2cc968c7 (whose author I've added to this bug's cc list, since he may
> not ordinarily monitor this bug tracker) introduced a regression in the -me
> macro set.
> 
> It can be demonstrated with the command
> 
> printf ".nm 1 1\nHi.\n" | groff -a -me
> 
> Running this command against the version of tmac/e.tmac-u from before that
> commit gives the expected output:
> 
> 
> <beginning of page>
> 1 Hi.
> 
> 
> Running it after the commit (including using the latest version of e.tmac-u)
> gives:
> 
> 
> [...]/tmac/e.tmac:99: backtrace: macro 'nm'
> troff: <standard input>:1: warning: number register '_#p' not defined
> [...]/tmac/e.tmac:100: backtrace: macro 'nm'
> troff: <standard input>:1: warning: number register '_#f' not defined
> [...]/tmac/e.tmac:100: backtrace: macro 'nm'
> troff: <standard input>:1: warning: bad font number
> <beginning of page>
> 1Hi.
> 
> 
> 
> 
> 
>    _______________________________________________________
> 
> Reply to this item at:
> 
>  <https://savannah.gnu.org/bugs/?57638>
> 
> _______________________________________________
>  Message sent via Savannah
>  https://savannah.gnu.org/
> 



          G Helffrich
          address@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]