auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. f1bcbe3ee6f66bff7f9ff


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. f1bcbe3ee6f66bff7f9ffd280829babf28ddf525
Date: Sun, 21 Feb 2016 17:45:59 +0000

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  f1bcbe3ee6f66bff7f9ffd280829babf28ddf525 (commit)
      from  53f2fab87869063d07010229c0c8675a35721a95 (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 f1bcbe3ee6f66bff7f9ffd280829babf28ddf525
Author: Mosè Giordano <address@hidden>
Date:   Sun Feb 21 18:44:32 2016 +0100

    Improve LaTeX-warnings-regexp
    
    * tex-buf.el (LaTeX-warnings-regexp): Catch also "LaTeX Font" warnings.

diff --git a/tex-buf.el b/tex-buf.el
index 2bd6d21..655faeb 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1398,8 +1398,13 @@ Return nil ifs no errors were found."
       (setq TeX-command-next TeX-command-Show))
     nil))
 
+;; This regexp should catch warnings of the type
+;;   LaTeX Warning: ...
+;;   LaTeX Font Warning: ...
+;;   Package xyz123 Warning: ...
+;;   Class xyz123 Warning: ...
 (defvar LaTeX-warnings-regexp
-  "\\(?:LaTeX [-A-Za-z0-9]*\\|\\(?:Class\\|Package\\) [-A-Za-z0-9]+ 
\\)Warning:"
+  "\\(?:LaTeX\\|Class\\|Package\\) [-A-Za-z0-9]* ?Warning:"
   "Regexp matching LaTeX warnings.")
 
 (defun TeX-LaTeX-sentinel-has-warnings ()

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

Summary of changes:
 tex-buf.el |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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