gbranden pushed a commit to branch master
in repository groff.

commit b0447e8f37663979f48370fa7dd5abe4a8c6338d
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Oct 4 11:21:27 2025 -0500

    [tmac]: Fix misleading diagnostic messages.
    
    * tmac/ja.tmac:
    * tmac/ru.tmac:
    * tmac/zh.tmac: Report the actual name of the macro file issuing the
      message.
---
 ChangeLog    | 7 +++++++
 tmac/ja.tmac | 2 +-
 tmac/ru.tmac | 2 +-
 tmac/zh.tmac | 2 +-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 57126e149..57ab57fdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,13 @@
        Thanks to Grisha Levit for report of problem with some pdf
        viewers.
 
+2025-10-04  G. Branden Robinson <[email protected]>
+
+       * tmac/ja.tmac:
+       * tmac/ru.tmac:
+       * tmac/zh.tmac: Fix misleading diagnostic messages.  Report the
+       actual name of the macro file issuing the message.
+
 2025-10-04  G. Branden Robinson <[email protected]>
 
        [mdoc]: Regression-test continuously rendered degenerate output;
diff --git a/tmac/ja.tmac b/tmac/ja.tmac
index 07dc01494..fda1174af 100644
--- a/tmac/ja.tmac
+++ b/tmac/ja.tmac
@@ -58,7 +58,7 @@
 .\" Check (heuristically) for output device coverage of Japanese script.
 .if !r \*[locale]*device-checked-for-glyph-coverage \{\
 .  if !c \[u65E5] \{\
-.    tm \*[locale].tmac: warning: font \n[.fn] may lack coverage of \
+.    tm \n[.F]: warning: font \n[.fn] may lack coverage of \
 Japanese script
 .    nr \*[locale]*device-checked-for-glyph-coverage 1
 .  \}
diff --git a/tmac/ru.tmac b/tmac/ru.tmac
index aebaac629..f96c9a187 100644
--- a/tmac/ru.tmac
+++ b/tmac/ru.tmac
@@ -159,7 +159,7 @@
 .\" Check (heuristically) for output device coverage of Cyrillic script.
 .if !r \*[locale]*device-checked-for-glyph-coverage \{\
 .  if !c \[u0410] \{\
-.    tm \*[locale].tmac: warning: font \n[.fn] may lack coverage of \
+.    tm \n[.F]: warning: font \n[.fn] may lack coverage of \
 Cyrillic script
 .    nr \*[locale]*device-checked-for-glyph-coverage 1
 .  \}
diff --git a/tmac/zh.tmac b/tmac/zh.tmac
index 6ff4a4262..26939bd41 100644
--- a/tmac/zh.tmac
+++ b/tmac/zh.tmac
@@ -57,7 +57,7 @@
 .\" Check (heuristically) for output device coverage of Chinese script.
 .if !r \*[locale]*device-checked-for-glyph-coverage \{\
 .  if !c \[u7684] \{\
-.    tm \*[locale].tmac: warning: font \n[.fn] may lack coverage of \
+.    tm \n[.F]: warning: font \n[.fn] may lack coverage of \
 Chinese script
 .    nr \*[locale]*device-checked-for-glyph-coverage 1
 .  \}

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

Reply via email to