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

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

[elpa] externals/auctex 8052cd5 13/28: Find warnings emitted by a packag


From: Tassilo Horn
Subject: [elpa] externals/auctex 8052cd5 13/28: Find warnings emitted by a package with digits in its name.
Date: Fri, 07 Aug 2015 15:59:21 +0000

branch: externals/auctex
commit 8052cd57efa81f826916e588a8b08fb35c4110ed
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Find warnings emitted by a package with digits in its name.
    
    * tex-buf.el (TeX-LaTeX-sentinel-has-warnings, TeX-parse-error):
    Cater for packages with digits in their names (e.g., fixltx2e,
    wich emits a warning from TeX Live 2015).
---
 ChangeLog  |    6 ++++++
 tex-buf.el |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2230519..599dbfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-13  Mos� Giordano  <address@hidden>
+
+       * tex-buf.el (TeX-LaTeX-sentinel-has-warnings, TeX-parse-error):
+       Cater for packages with digits in their names (e.g., fixltx2e,
+       wich emits a warning from TeX Live 2015).
+
 2015-06-09  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-evince-dbus-p): Explicitly bind dbus-debug to nil in
diff --git a/tex-buf.el b/tex-buf.el
index c61ffaf..0e412cc 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1014,7 +1014,7 @@ Warnings can be indicated by LaTeX or packages."
   (save-excursion
     (goto-char (point-min))
     (re-search-forward
-     "^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z]+ \\)Warning:" nil t)))
+     "^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z0-9]+ \\)Warning:" nil t)))
 
 (defun TeX-LaTeX-sentinel-has-bad-boxes ()
   "Return non-nil, if LaTeX output indicates overfull or underfull boxes."
@@ -1748,7 +1748,7 @@ Return non-nil if an error or warning is found."
          "^\\(\\(?:Overfull\\|Underfull\\|Tight\\|Loose\\)\
  \\\\.*?[0-9]+--[0-9]+\\)\\|"
          ;; LaTeX warning
-         "^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z]+ \\)Warning:.*"))
+         "^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z0-9]+ \\)Warning:.*"))
        (error-found nil))
     (while
        (cond



reply via email to

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