From 154b2b1008fac7c78938b6d32008e1c97ed0d094 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 10 May 2002 01:00:29 +0000 Subject: [PATCH] (compilation-error-regexp-alist): New element to recognize Python error messages. --- lisp/ChangeLog | 12 +++++++++++- lisp/progmodes/compile.el | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1b4c8b47abc..a946a4fcb8a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2002-05-09 Richard M. Stallman + + * progmodes/compile.el (compilation-error-regexp-alist): + New element to recognize Python error messages. + + * shell.el (shell-replace-by-expanded-directory): + If there's already a / at the end, don't add one. + 2002-05-09 Colin Walters * ibuffer.el (ibuffer-mode-map): Add :enable guards for @@ -22,7 +30,7 @@ `display-color-cells' unless the display class is one for which that info is relevant. -2002-05-07 Simon Josefsson +2002-05-09 Simon Josefsson * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from calling buffer. @@ -62,6 +70,8 @@ 2002-05-08 Richard M. Stallman + * diff.el (diff-regexp-alist): Doc fix. + * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads. 2002-05-08 Simon Marshall diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index c1f8b9b345a..689c095f521 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -363,6 +363,10 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2) (".*\"\\([^,\" \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) -- 2.39.5