# HG changeset patch # User Glenn Morris # Date 1190012278 0 # Node ID b93f64a362b4a16fd36abc87dc87661690696171 # Parent bbefe3fd1edd5038f51d4496750b7f58c73bf903 Joe Wells (tiny change) (tex-compilation-parse-errors): Also match TeX `--file-line-error' format. diff -r bbefe3fd1edd -r b93f64a362b4 lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Mon Sep 17 06:57:29 2007 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Sep 17 06:57:58 2007 +0000 @@ -2016,7 +2016,8 @@ (goto-char compilation-parsing-end) ;; Parse messages. (while (and (not (or found-desired (eobp))) - (prog1 (re-search-forward "^! " nil 'move) + (prog1 (re-search-forward + "^\\(?:[^:\n]+:[[:digit:]]+:\\|!\\) " nil 'move) (setq begin-of-error (match-beginning 0) end-of-error (match-end 0))) (re-search-forward