emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 9f3e760 10/71: Recognize L3 \msg_line_context: o


From: Tassilo Horn
Subject: [elpa] externals/auctex 9f3e760 10/71: Recognize L3 \msg_line_context: on warning parsing
Date: Fri, 17 Dec 2021 15:00:26 -0500 (EST)

branch: externals/auctex
commit 9f3e760d4ab1f499b814c0318416797e7c244b81
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Recognize L3 \msg_line_context: on warning parsing
    
    * tex-buf.el (TeX-warning): Recognize L3 \msg_line_context: on warning
    parsing which reads "on line X" instead of "on input line X".
---
 tex-buf.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tex-buf.el b/tex-buf.el
index ce54251..a36bda8 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -2815,7 +2815,10 @@ warning."
   (let* ( ;; line-string: match 1 is beginning line, match 2 is end line
          (line-string (if bad-box
                           "at lines? \\([0-9]*\\)\\(?:--\\([0-9]*\\)\\)?"
-                        "on input line \\([0-9]*\\)\\."))
+                        ;; Traditional messages say "on input line X",
+                        ;; the LaTeX3 \msg_line_context:. just reads
+                        ;; "on line X".
+                        "on \\(?:input \\)?line \\([0-9]*\\)\\."))
          ;; word-string: match 1 is the word
          (word-string (if bad-box "[][\\W() ---]\\(\\w+\\)[][\\W() ---]*$"
                         ;; Match "ref" in both "Reference `ref' on page NN



reply via email to

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