gbranden pushed a commit to branch master
in repository groff.

commit 2757d640baaf2c0e66277b555ce869a59f158c72
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Nov 20 14:58:26 2026 -0600

    Revert "[troff]: Continue fixing Savannah #68361."
    
    This reverts commit e9c5dc986acbd496b08542235c5453eeff555025.
    
    I changed my mind.
    
    groff 1.25.0 already shipped with this case as a warning in category
    "escape", a behavior that is congruent with the handling every other
    invalid function selector in an escape sequence, like `\<`, `\P`, `\=`,
    and so forth.
    
    And, blissfully, I've heard no reports of inboxes exploding about these
    warnings despite them being on by default in groff 1.25 (due to the
    "escape" category itself being enabled by default).
---
 ChangeLog                | 6 ------
 src/roff/troff/input.cpp | 3 ---
 2 files changed, 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 045852950..57b7db001 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -662,12 +662,6 @@
 
        Fixes <https://savannah.gnu.org/bugs/?68895>.
 
-2026-11-08  G. Branden Robinson <[email protected]>
-
-       * src/roff/troff/input.cpp (token::next): Actually throw warning
-       in category "style", not "escape", when encountering escaped dot
-       {'.'} in interpretation mode.
-
 2026-11-02  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/env.cpp (environment::dump): Report values of
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index cf3f71ac5..c84dee962 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -2950,9 +2950,6 @@ void token::next()
                  " to format the escape character,"
                  " or use requests"
                  " to change or disable the escape character");
-       else if ('.' == cc)
-         warning(WARN_STYLE, "a dot does not require escaping when"
-                 " not in copy mode");
        else
          warning(WARN_ESCAPE, "ignoring escape character before %1",
                  input_char_description(cc));

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to