bug-groff
[Top][All Lists]
Advanced

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

[bug #62181] [me] setting of hyphenation mode not robust to meddling


From: G. Branden Robinson
Subject: [bug #62181] [me] setting of hyphenation mode not robust to meddling
Date: Mon, 14 Mar 2022 02:12:40 -0400 (EDT)

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

                 Summary: [me] setting of hyphenation mode not robust to
meddling
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Mon 14 Mar 2022 06:12:39 AM UTC
                Category: Macro me
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Dave pointed out in bug #61734 that some new code in our me(7) is not robust
to meddling with the hyphenation mode registers.


.\" Set package default hyphenation mode, but override it with groff's
.\" localized value if available.
.hy 6
.do hy \\n[\\*[locale]*hyphenation-mode-trap]


It's possible that the register named in the `do` request won't be defined, in
which case the hyphenation mode will be set to zero--disabled.

That would be a surprise to experienced me(7) users.

Test the register for existence before using it.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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