bugGNU roff - Bugs: bug #60785, [me] intends to work in...

 
 

bug #60785: [me] intends to work in compatibility mode, but doesn't

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Wed 16 Jun 2021 01:23:39 PM UTC
   
 
Category:  Macro package me 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
   

Thu 17 Jun 2021 09:45:23 AM UTC, comment #1: 


commit 06596dd61707294858caa9c60ddf735fccd3b068
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Jun 16 23:15:37 2021 +1000

    tmac/e.tmac-u: Work in compatibility mode.

    * tmac/e.tmac-u: Work in compatibility mode.  It seems this was the
      intention (reasonable, since "me" originates in pre-groff BSD Unix),
      but there were several problems.

      (@R): Prefix register existence test with `do`.

      (@html_check_need_title): Define with `do` since the macro name is
      long, and also with `de1` so that we can freely use groff extensions
      within.  Drop many `do` requests from macro definition.

      (@check_need_title): Define with `do`, as above.  Add comment
      explaining why `de1` is not needed for this macro definition.

      (@S): Prefix macro/string existence test with `do`.  Remove spurious
      space so that the argument string name is truly defined as empty.

      (nm, n1, n2): Prefix handling of long register names `_#p` and `_#f`
      with `do` request.

      (top level): Prefix `mso` request with `do`.

      ((x-html): Define with `do` and `de1` instead of `de`.  Drop
      now-unnecessary `do` requests from macro body.

      ()x-html): Define with `do` and `de1` instead of `de` for symmetry.

      (xp-html): Define with `do` and `de1` instead of `de`.  Drop
      now-unnecessary `do` requests from macro body.

commit c31cf67b73d98b9ae96d6408233905723b5406d8
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Jun 16 23:09:24 2021 +1000

    tmac/devtag.tmac: Work in compatibility mode.

    * tmac/devtag.tmac: Work in compatibility mode; define macros with the
      `de1` instead of the `de` request.

commit 0d0bfea83b6338e9875e8bfe3657c4cb9706cbdb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Jun 16 22:56:34 2021 +1000

    [refer, refer-me]: Add include guards.

commit c40d933271502b904e37c596979314de3a60fccb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Jun 16 22:53:16 2021 +1000

    tmac/refer-me.tmac: Support compatibility mode.

    * tmac/refer-me.tmac: Handle being loaded in compatibility mode.


G. Branden Robinson <gbranden>
Group administrator
Wed 16 Jun 2021 01:23:39 PM UTC, original submission:  

For one thing, you get a spurious diagnostic.


$ groff -z -ge -me -C doc/meintro.me
The \$1 macro has been removed from this version of the -me macros.


Turn on all warnings and the horror is revealed.


$ groff -ww -z -ge -me -C doc/meintro.me
troff: /usr/share/groff/1.22.4/tmac/e.tmac:46: warning: number register 'pf' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:110: warning: number register '@' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:134: warning: macro '$*' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1363: warning: number register 'ff' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1366: warning: number register 'fp' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1635: warning: macro 'mo' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1635: warning: number register 'y4' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1638: warning: number register '$v' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1662: warning: macro '{' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1663: warning: macro '}' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1711: warning: number register 'ps' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1719: warning: number register 'es' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1734: warning: macro '#h' not defined
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1736: warning: macro '#v' not defined
The \$1 macro has been removed from this version of the -me macros.
troff: /usr/share/groff/1.22.4/tmac/e.tmac:1749: warning: macro '.' not defined
troff: <standard input>:24: warning: macro 'he' not defined
troff: <standard input>:31: warning: macro '+c' not defined
troff: <standard input>:32: warning: macro '(l' not defined
troff: <standard input>:33: warning: macro 'sz' not defined
troff: <standard input>:34: warning: macro 'b' not defined
troff: <standard input>:45: warning: macro 'i' not defined
troff: <standard input>:46: warning: macro ')l' not defined
troff: <standard input>:48: warning: macro 'pp' not defined
troff: <standard input>:52: warning: macro '(f' not defined
troff: <standard input>:55: warning: macro ')f' not defined
troff: <standard input>:124: warning: macro '(b' not defined
troff: <standard input>:127: warning: macro ')b' not defined
troff: <standard input>:167: warning: macro 'sh' not defined
troff: <standard input>:227: warning: macro 'q' not defined
troff: <standard input>:302: warning: number register 'pi' not defined
troff: <standard input>:556: warning: number register '$i' not defined
troff: <standard input>:647: warning: macro 'lp' not defined
troff: <standard input>:649: warning: macro '(q' not defined
troff: <standard input>:653: warning: macro ')q' not defined
troff: <standard input>:740: warning: macro '(z' not defined
troff: <standard input>:742: warning: macro 'xl' not defined
troff: <standard input>:743: warning: macro 'hl' not defined
troff: <standard input>:756: warning: macro ')z' not defined
troff: <standard input>:900: warning: macro '(c' not defined
troff: <standard input>:903: warning: macro ')c' not defined
troff: <standard input>:959: warning: macro '*' not defined
troff: <standard input>:1101: warning: macro '(x' not defined
troff: <standard input>:1103: warning: macro ')x' not defined
troff: <standard input>:1118: warning: macro 'xp' not defined
troff: <standard input>:1202: warning: macro 'ip' not defined
troff: <standard input>:1339: warning: macro 'np' not defined
troff: <standard input>:1380: warning: macro 'bu' not defined
troff: <standard input>:2018: warning: macro 'u' not defined
troff: <standard input>:2019: warning: macro 'bx' not defined
troff: <standard input>:2146: warning: macro '-' not defined
troff: <standard input>:2165: warning: macro 'sm' not defined


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

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code