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/


Reply via email to