# HG changeset patch # User Glenn Morris # Date 1190012319 0 # Node ID bb15bcc10f4b2685f1c434d18a127a911c04ea7a # Parent b3e66fa9fc669e1665de9c41b54c3264e32c8c7b Joe Wells (tiny change) (tex-compilation-parse-errors): Also match TeX `--file-line-error' format. diff -r b3e66fa9fc66 -r bb15bcc10f4b lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Mon Sep 17 06:54:23 2007 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Sep 17 06:58:39 2007 +0000 @@ -2037,7 +2037,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