changeset 242:1ba5a7b0a328

compilation mode: handle mercurial check-code output
author Augie Fackler <durin42@gmail.com>
date Sat, 19 Mar 2011 17:06:52 -0500
parents 7249fab44bcd
children 5fdca3153e75
files .elisp/settings/50.compilation-tweaks.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/50.compilation-tweaks.el
+++ b/.elisp/settings/50.compilation-tweaks.el
@@ -4,9 +4,15 @@
  '(mercurial-test-output-tb
    "\+  File \".*/install/lib/python/\\([^\"]*\\)\", line \\([0-9]*\\)\\(, in .*\\)?$"
     1 2) compilation-error-regexp-alist-alist)
+(pushnew
+ '(mercurial-check-code-output-tb
+   "\+\\(/[^:]+\\):\\([0-9]+\\):$"
+    1 2) compilation-error-regexp-alist-alist)
 ;; add to the end so this gets priority
 (setq compilation-error-regexp-alist
       (append compilation-error-regexp-alist '(mercurial-test-output-tb)))
+(setq compilation-error-regexp-alist
+      (append compilation-error-regexp-alist '(mercurial-check-code-output-tb)))
 
 ;; Use the next s-exp to remove the last list element if you need to
 ;; live-edit this regex