[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 203/299: Skip comment or file in parens in output.
From: |
Stefan Monnier |
Subject: |
[elpa] 203/299: Skip comment or file in parens in output. |
Date: |
Sun, 02 Nov 2014 03:11:27 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
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>
---
ChangeLog | 5 +++++
tex-buf.el | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletions(-)
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."
- [elpa] 204/299: Revert "Skip comment or file in parens in output.", (continued)
- [elpa] 204/299: Revert "Skip comment or file in parens in output.", Stefan Monnier, 2014/11/01
- [elpa] 201/299: Disable electric-pair-mode., Stefan Monnier, 2014/11/01
- [elpa] 191/299: Distinguish common and advanced macros/envs., Stefan Monnier, 2014/11/01
- [elpa] 207/299: Add font name completion in fontspec.el., Stefan Monnier, 2014/11/01
- [elpa] 202/299: Disable electric-pair-mode conditionally., Stefan Monnier, 2014/11/01
- [elpa] 205/299: Handle package messages with parenthesized text., Stefan Monnier, 2014/11/01
- [elpa] 208/299: Use TeX-electric-math in LaTeX-math-insert/cal., Stefan Monnier, 2014/11/01
- [elpa] 199/299: Fix bindings of narrowing functions., Stefan Monnier, 2014/11/01
- [elpa] 209/299: Fix a bug with reftex where tex-info and LaTeX interferred., Stefan Monnier, 2014/11/01
- [elpa] 206/299: New style files and a fix to imakeidx.el., Stefan Monnier, 2014/11/01
- [elpa] 203/299: Skip comment or file in parens in output.,
Stefan Monnier <=
- [elpa] 211/299: Adapt style/babel.el to babel 3.9., Stefan Monnier, 2014/11/01
- [elpa] 210/299: Make search for \begin and \end case sensitive., Stefan Monnier, 2014/11/01
- [elpa] 214/299: Fix syntactic fontification., Stefan Monnier, 2014/11/01
- [elpa] 215/299: Declare LaTeX-shortvrb-chars as safe local variable., Stefan Monnier, 2014/11/01
- [elpa] 212/299: Distinguish between numbered and unnumbered sections., Stefan Monnier, 2014/11/01
- [elpa] 216/299: Add a ^L so that the file local variable example isn't picked up., Stefan Monnier, 2014/11/01
- [elpa] 217/299: Use default parameter of completing-read., Stefan Monnier, 2014/11/01
- [elpa] 218/299: Use default parameter of `completing-read'., Stefan Monnier, 2014/11/01
- [elpa] 213/299: *** empty log message ***, Stefan Monnier, 2014/11/01
- [elpa] 219/299: Add WHEN arg to make-obsolete calls, Stefan Monnier, 2014/11/01