URL:
  <https://savannah.gnu.org/bugs/?59482>

                 Summary: groff -ms missing .EM macro
                 Project: GNU troff
            Submitted by: ds26gte
            Submitted on: Thu 19 Nov 2020 01:04:04 AM UTC
                Category: Macro - ms
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

UTP (p. 534) says -ms pre-sets the end-of-input trap .em to a macro called
.EM. The implication is that a user wanting to affect end-of-document behavior
would append to this macro rather than directly calling .em.

I have found that Heirloom troff and Neatroff both allow this. groff does
not.

groff's s.tmac sets .em to a macro called .pg@end-text. There is no .EM. 

Rectifying this would allow the user the standard idiom of extending .EM in
their chosen way, instead of having to deal with the macro .pg@end-text that
looks like it was meant to stay hidden. It would also prevent the error
whereby the user, finding that modifying .EM doesn't work, calls .em directly,
thereby voiding -ms's previous assignment.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59482>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to