aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-09-17 07:02:35 +0000
committerGlenn Morris2007-09-17 07:02:35 +0000
commite47a29adbffb41bfe5417c6269660a2e9d55ea1f (patch)
treec646fa2c02341493d2f24666799f73de2d542122
parent9f596249ba1cbdf2f2b315b27acdda99bfd10be5 (diff)
downloademacs-e47a29adbffb41bfe5417c6269660a2e9d55ea1f.tar.gz
emacs-e47a29adbffb41bfe5417c6269660a2e9d55ea1f.zip
Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
(tex-compilation-parse-errors): Also match TeX `--file-line-error' format.
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/textmodes/tex-mode.el3
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 596d972932b..c2b1e6be276 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12007-09-17 Glenn Morris <rgm@gnu.org>
2
3 * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
4 filename from `--file-line-error', if it is available.
5
62007-09-17 Joe Wells <jbw@macs.hw.ac.uk> (tiny change)
7
8 * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
9 TeX `--file-line-error' format.
10
12007-09-17 Dan Nicolaescu <dann@ics.uci.edu> 112007-09-17 Dan Nicolaescu <dann@ics.uci.edu>
2 12
3 * xt-mouse.el: Delete add-hook calls that were moved to 13 * xt-mouse.el: Delete add-hook calls that were moved to
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 986c4fca20b..85cb77b69cc 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -2037,7 +2037,8 @@ for the error messages."
2037 (goto-char compilation-parsing-end) 2037 (goto-char compilation-parsing-end)
2038 ;; Parse messages. 2038 ;; Parse messages.
2039 (while (and (not (or found-desired (eobp))) 2039 (while (and (not (or found-desired (eobp)))
2040 (prog1 (re-search-forward "^! " nil 'move) 2040 (prog1 (re-search-forward
2041 "^\\(?:[^:\n]+:[[:digit:]]+:\\|!\\) " nil 'move)
2041 (setq begin-of-error (match-beginning 0) 2042 (setq begin-of-error (match-beginning 0)
2042 end-of-error (match-end 0))) 2043 end-of-error (match-end 0)))
2043 (re-search-forward 2044 (re-search-forward