]> git.eshelyaron.com Git - emacs.git/commitdiff
Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
authorGlenn Morris <rgm@gnu.org>
Mon, 17 Sep 2007 07:02:35 +0000 (07:02 +0000)
committerGlenn Morris <rgm@gnu.org>
Mon, 17 Sep 2007 07:02:35 +0000 (07:02 +0000)
(tex-compilation-parse-errors): Also match TeX `--file-line-error'
format.

lisp/ChangeLog
lisp/textmodes/tex-mode.el

index 596d972932b1bdc536fe517246307a268ef08219..c2b1e6be27612e147ac84c990bd217ac3ebf7c73 100644 (file)
@@ -1,3 +1,13 @@
+2007-09-17  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
+       filename from `--file-line-error', if it is available.
+
+2007-09-17  Joe Wells  <jbw@macs.hw.ac.uk>  (tiny change)
+
+       * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
+       TeX `--file-line-error' format.
+
 2007-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * xt-mouse.el: Delete add-hook calls that were moved to
index 986c4fca20ba8bf3c7c2c5d6de7cda2e448eae41..85cb77b69cc66aab5165e066bab16496c6d5800a 100644 (file)
@@ -2037,7 +2037,8 @@ for the error messages."
     (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