# HG changeset patch # User Richard M. Stallman # Date 1020992407 0 # Node ID 7c87a236ef78df4901314a7f22ab9a27e62f9439 # Parent 793403e94381b7c174941014caa24e6aeb8c7216 (compilation-error-regexp-alist): New element to recognize Python error messages. diff -r 793403e94381 -r 7c87a236ef78 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Fri May 10 00:58:27 2002 +0000 +++ b/lisp/progmodes/compile.el Fri May 10 01:00:07 2002 +0000 @@ -363,6 +363,10 @@ (".*\"\\([^,\" \n\t]+\\)\", lines? \ \\([0-9]+\\)\\([\(.]\\([0-9]+\\)\)?\\)?[:., (-]" 1 2 4) + ;; Python: + ;; File "foobar.py", line 5, blah blah + ("^File \"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)," 1 2) + ;; Caml compiler: ;; File "foobar.ml", lines 5-8, characters 20-155: blah blah ("^File \"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[-0-9]*, characters? \\([0-9]+\\)" 1 2 3)