[bug #68358] [troff] make `pwh` request report existence and location of diversion trap

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?68358>

                 Summary: [troff] make `pwh` request report existence and
location of diversion trap
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Sun 17 May 2026 09:30:19 PM UTC
                Category: Core
                Severity: 1 - Wish
              Item Group: Feature change
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 17 May 2026 09:30:19 PM UTC By: G. Branden Robinson <gbranden>
Page location traps don't apply to diversions.

The presence of a diversion trap is hard to introspect.

Fix that by making `pwh` report the diversion trap's macro name and location,
if we're in a diversion and a diversion trap is planted.







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagozbwAKCRCqLAuaBUf3
TqJTAQDV/ib/b+5TlwgFCVxUgtlW0Nq5z09jwNouMfeAt+nW9wD+JkkaBiEMvdsv
ACbBdQDrb0Tag3/Mn9fsErQo4H10lAM=
=h8d1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.