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. 363b751003c4b425b4b6c


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 363b751003c4b425b4b6c511740c95366481207c
Date: Tue, 17 Dec 2013 08:02:58 +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  363b751003c4b425b4b6c511740c95366481207c (commit)
      from  065c9325f99fd1c32c9aa5b67ee8c0a56e8219b9 (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 363b751003c4b425b4b6c511740c95366481207c
Author: Luc Van Eycken <address@hidden>
Date:   Tue Dec 17 09:01:29 2013 +0100

    Skip comment or file in parens in output.
    
    * tex-buf.el (TeX-parse-error): Skip comment (or file) between
    parentheses.
    
    Signed-off-by: Tassilo Horn <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index 786dcad..02e9772 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-17  Luc Van Eycken  <address@hidden>
+
+       * tex-buf.el (TeX-parse-error): Skip comment (or file) between
+       parentheses.
+
 2013-12-01  Tassilo Horn  <address@hidden>
 
        * latex.el (LaTeX-common-initialization): Move disabling of
diff --git a/tex-buf.el b/tex-buf.el
index efc19b5..b4f851f 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1482,6 +1482,10 @@ You might want to examine and modify the free variables 
`file',
         (concat
          ;; TeX error
          "^\\(!\\|\\(.*?\\):[0-9]+:\\) \\|"
+         ;; Skip comment (or file) between parentheses in one line
+         ;; Avoids problems with "Driver (autodetected):" from hyperref
+         ;; and with "(version 2006.09.02)." from supp-pdf.mkii
+         "([^()\r\n{}]*)\\|"
          ;; New file
          "(\\(\"[^\"]*?\"\\|/*\
 \\(?:\\.+[^()\r\n{} \\/]*\\|[^()\r\n{} .\\/]+\
@@ -1571,7 +1575,8 @@ You might want to examine and modify the free variables 
`file',
         ((match-beginning 6)
          (setq TeX-error-file
                (list (TeX-match-buffer 6)))
-         t)))))
+         t)
+        (t t)))))
 
 (defun TeX-error ()
   "Display an error."

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

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


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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