# HG changeset patch # User Augie Fackler # Date 1300572412 18000 # Node ID 1ba5a7b0a328de3c2c02892a33b7ecffabee2bc3 # Parent 7249fab44bcd35341f5714af04300dec6443727d compilation mode: handle mercurial check-code output diff --git a/.elisp/settings/50.compilation-tweaks.el b/.elisp/settings/50.compilation-tweaks.el --- 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