gbranden pushed a commit to branch master
in repository groff.

commit 669dd496e37903652c68681ad3cc523ef505f4a4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Dec 2 02:50:19 2025 -0600

    Reform terminology.
    
    Eschew "normal mode" in favor of "not in compatibility mode".
    
    Neither "normal mode" nor "groff mode" seem to communicate as much.
---
 ChangeLog                                        |  6 +++---
 doc/groff.texi.in                                |  6 +++---
 src/roff/groff/tests/check-delimiter-validity.sh | 13 +++++++------
 3 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 112759519..8e12480e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1268,9 +1268,9 @@
 2025-11-06  G. Branden Robinson <[email protected]>
 
        * src/roff/groff/tests/check-delimiter-validity.sh: Test many
-       more delimiters in normal mode (that is, not compatibility
-       mode), including punctuation characters and control characters
-       that are valid as input.
+       more delimiters when not compatibility mode), including
+       punctuation characters and control characters that are valid as
+       input.
 
 2025-11-05  G. Branden Robinson <[email protected]>
 
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index c1ef938d5..cbb7f2a95 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -20101,7 +20101,7 @@ it does not.
 @Example
 .ds xx '
 \w'abc\*(xxdef'
-    @result{} 168 @r{(normal mode on a terminal device)}
+    @result{} 168 @r{(not in compatibility mode on a terminal device)}
     @result{} 72def' @r{(compatibility mode on a terminal device)}
 @endExample
 
@@ -20141,8 +20141,8 @@ but the text differs.
 Hello!
 ..
 \fB.xx\fP
-    @result{} .xx @r{(normal mode)}
-    @result{} Hello! @r{(compatibility mode)}
+    @result{} .xx @r{(not in compatibility mode)}
+    @result{} Hello! @r{(in compatibility mode)}
 @endExample
 
 @cindex @code{\s}, incompatibilities with @acronym{AT&T} @code{troff}
diff --git a/src/roff/groff/tests/check-delimiter-validity.sh 
b/src/roff/groff/tests/check-delimiter-validity.sh
index feddf0667..8e5b16a2b 100755
--- a/src/roff/groff/tests/check-delimiter-validity.sh
+++ b/src/roff/groff/tests/check-delimiter-validity.sh
@@ -32,8 +32,8 @@ for c in A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \
          '!' '"' '#' '$' "'" ',' ';' '?' \
          '@' '[' ']' '^' '`' '{' '}' '~'
 do
-    echo "checking validity of '$c' as delimiter in normal mode" \
-         >&2
+    echo "checking validity of '$c' as delimiter when not in" \
+        "compatbility mode" >&2
     output=$(printf '\\l%c1n+2n\\&_%c\n' "$c" "$c" \
       | "$groff" -w delim -T ascii | sed '/^$/d')
     echo "$output" | grep -Fqx ___ || wail
@@ -42,7 +42,7 @@ done
 for octal in 001 002 003 004 005 006 007 010 011 014 177
 do
     echo "checking validity of control character $octal (octal)" \
-         "as delimiter in normal mode" >&2
+        "as delimiter when not in compatibility mode" >&2
     output=$(printf '\\l\'$octal'1n+2n\&_\'$octal'\n' \
       | "$groff" -w delim -T ascii | sed '/^$/d')
     echo "$output" | grep -Fqx ___ || wail
@@ -50,15 +50,16 @@ done
 
 for c in 0 1 2 3 4 5 6 7 8 9 + - '(' . '|'
 do
-    echo "checking invalidity of '$c' as delimiter in normal mode" \
-         >&2
+    echo "checking invalidity of '$c' as delimiter when not in" \
+        "compatbility mode" >&2
     output=$(printf '\\l%c1n+2n\\&_%c\n' "$c" "$c" \
       | "$groff" -w delim -T ascii | sed '/^$/d')
     echo "$output" | grep -qx 1n+2n_. || wail
 done
 
 # Regression-test Savannah #67744.
-echo "checking invalidity of \h as delimiter in normal mode" >&2
+echo "checking invalidity of \h as delimiter when not in" \
+        "compatibility mode" >&2
 output=$(printf 'foo\\C\\h"1m"em\\h"1m"bar\n' \ | "$groff" -T ascii -a)
 echo "$output" | grep -Fqx "foo--bar" && wail
 

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

Reply via email to