Re: \ignoreprimitiveerror implemented

Karl Berry <[email protected]> Thu, 15 Jan 2026 15:25:21 -0700
Newsgroups gmane.comp.tex.pdftex
Message-ID <[email protected]>
    but putting it first would also work I guess

I somehow liked it as a prefix. I just committed (r77374) this change,
and told the other engine maintainers.

Unless something else comes up, I think this is our only cross-engine
change for 2026 ... --thanks, karl.

Index: euptexdir/ChangeLog
===================================================================
--- euptexdir/ChangeLog	(revision 77373)
+++ euptexdir/ChangeLog	(working copy)
@@ -1 +1,7 @@
+2026-01-15  Karl Berry  <[email protected]>
+
+	* suppresserrors.ch: omit word "error" in message
+	to avoid false positives by humans and editors (cross-engine).
+	https://tug.org/pipermail/pdftex/2026-January/009463.html
+
 2025-12-25  Hironori Kitagawa  <h_kitagawa2001-/[email protected]>
Index: euptexdir/suppresserrors.ch
===================================================================
--- euptexdir/suppresserrors.ch	(revision 77373)
+++ euptexdir/suppresserrors.ch	(working copy)
@@ -30,3 +30,3 @@
   else print_nl("");
-  print("ignored error: "); print(#);
+  print("ignored: "); print(#);
   end
Index: hitexdir/ChangeLog
===================================================================
--- hitexdir/ChangeLog	(revision 77373)
+++ hitexdir/ChangeLog	(working copy)
@@ -1 +1,7 @@
+2026-01-15  Karl Berry  <[email protected]>
+
+	* hitex.w (print_ignored_error): omit word "error" in message
+	to avoid false positives by humans and editors (cross-engine).
+	https://tug.org/pipermail/pdftex/2026-January/009463.html
+
 2025-11-09  Karl Berry  <[email protected]>
Index: hitexdir/hitex.w
===================================================================
--- hitexdir/hitex.w	(revision 77373)
+++ hitexdir/hitex.w	(working copy)
@@ -1822,3 +1822,3 @@ static void print_ignored_err(char *s)
   else  print_nl("");
-  print("ignored error: ");print(s);
+  print("ignored: ");print(s);
 }
Index: luatexdir/ChangeLog
===================================================================
--- luatexdir/ChangeLog	(revision 77373)
+++ luatexdir/ChangeLog	(working copy)
@@ -1 +1,7 @@
+2026-01-15  Karl Berry  <[email protected]>
+
+	* luatexdir/tex/errors.c (print_ignored_err): omit word "error" in
+	message to avoid false positives by humans and editors (cross-engine).
+	https://tug.org/pipermail/pdftex/2026-January/009463.html
+
 2025-12-06  Luigi Scarso  <[email protected]>
@@ -6,6 +12,3 @@
 	* fixed Errors in "texlua" do not print a traceback (Max Chernoff)
-
-
-
-	
+      
 2025-09-23  Luigi Scarso  <[email protected]>
Index: luatexdir/tex/errors.c
===================================================================
--- luatexdir/tex/errors.c	(revision 77373)
+++ luatexdir/tex/errors.c	(working copy)
@@ -157,3 +157,3 @@ void print_ignored_err(const char *s)
     } else {
-        tprint_nl("ignored error ");
+        tprint_nl("ignored: ");
     }
Index: pdftexdir/ChangeLog
===================================================================
--- pdftexdir/ChangeLog	(revision 77373)
+++ pdftexdir/ChangeLog	(working copy)
@@ -1 +1,8 @@
+2026-01-15  Karl Berry  <[email protected]>
+
+	* pdftex.web,
+	* pdftex.ch (print_ignored_err): omit word "error" in message
+	to avoid false positives by humans and editors (cross-engine).
+	https://tug.org/pipermail/pdftex/2026-January/009463.html
+
 2026-01-10  Thanh Han The  <[email protected]>
Index: pdftexdir/pdftex.ch
===================================================================
--- pdftexdir/pdftex.ch	(revision 77373)
+++ pdftexdir/pdftex.ch	(working copy)
@@ -31,4 +31,4 @@
 
-@x pdftex.web l.1891 - have print_ignored_error respect --file-line-error
-  print_nl("ignored error: "); print(#);
+@x pdftex.web l.1891 - have print_ignored_err respect --file-line-error
+  print_nl("ignored: "); print(#);
 @y
@@ -36,3 +36,3 @@
   else print_nl("");
-  print("ignored error: "); print(#);
+  print("ignored: "); print(#);
 @z
Index: pdftexdir/pdftex.web
===================================================================
--- pdftexdir/pdftex.web	(revision 77373)
+++ pdftexdir/pdftex.web	(working copy)
@@ -1890,3 +1890,3 @@ amounts of user interaction:
 @d print_ignored_err(#)==begin if interaction=error_stop_mode then wake_up_terminal;
-  print_nl("ignored error: "); print(#);
+  print_nl("ignored: "); print(#);
   end
Index: xetexdir/ChangeLog
===================================================================
--- xetexdir/ChangeLog	(revision 77373)
+++ xetexdir/ChangeLog	(working copy)
@@ -1 +1,9 @@
+2026-01-15  Karl Berry  <[email protected]>
+
+	* xetex.web,
+	* xetex.ch (print_ignored_err)
+	omit word "error" in message
+	to avoid false positives by humans and editors (cross-engine).
+	https://tug.org/pipermail/pdftex/2026-January/009463.html
+
 2026-01-07  Karl Berry  <[email protected]>
Index: xetexdir/xetex.ch
===================================================================
--- xetexdir/xetex.ch	(revision 77373)
+++ xetexdir/xetex.ch	(working copy)
@@ -133,4 +133,4 @@ if translate_filename then begin
 
-@x l.1891 - have print_ignored_error respect --file-line-error
-  print_nl("ignored error: "); print(#);
+@x l.1891 - have print_ignored_err respect --file-line-error
+  print_nl("ignored: "); print(#);
 @y
@@ -138,3 +138,3 @@ if translate_filename then begin
   else print_nl("");
-  print("ignored error: "); print(#);
+  print("ignored: "); print(#);
 @z
Index: xetexdir/xetex.web
===================================================================
--- xetexdir/xetex.web	(revision 77373)
+++ xetexdir/xetex.web	(working copy)
@@ -1988,3 +1988,3 @@ amounts of user interaction:
 @d print_ignored_err(#)==begin if interaction=error_stop_mode then wake_up_terminal;
-  print_nl("ignored error: "); print(#);
+  print_nl("ignored: "); print(#);
   end