This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  8052cd57efa81f826916e588a8b08fb35c4110ed (commit)
      from  8426ca5cd225f2aac37532802afc60a30f2e6c89 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8052cd57efa81f826916e588a8b08fb35c4110ed
Author: Mosè Giordano <m...@gnu.org>
Date:   Sat Jun 13 16:50:32 2015 +0200

    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).

diff --git a/ChangeLog b/ChangeLog
index 2230519..599dbfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-13  Mosè Giordano  <m...@gnu.org>
+
+       * 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  <t...@gnu.org>
 
        * 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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog  |    6 ++++++
 tex-buf.el |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to