auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] [elpa] externals/auctex a1473f7 33/69: Capture warnings f


From: Tassilo Horn
Subject: [AUCTeX-devel] [elpa] externals/auctex a1473f7 33/69: Capture warnings from packages with hyphens in name
Date: Sat, 26 Mar 2016 21:36:35 +0000

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

    Capture warnings from packages with hyphens in name
    
    * tex-buf.el (TeX-LaTeX-sentinel-has-warnings): Add hyphen to regexps.
    (TeX-parse-error): Ditto.
---
 tex-buf.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tex-buf.el b/tex-buf.el
index aced105..a8ba024 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1395,7 +1395,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-z0-9]+ \)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."
@@ -2270,7 +2270,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-z0-9]+ \)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]