comparison .elisp/settings/50.compilation-tweaks.el @ 213:1947b2c08f29

compilation: adjust regexp for hg tracebacks
author Augie Fackler <durin42@gmail.com>
date Tue, 04 May 2010 23:14:34 -0500
parents 4716b238db2e
children 1ba5a7b0a328
comparison
equal deleted inserted replaced
212:4716b238db2e 213:1947b2c08f29
1 (require 'compile) 1 (require 'compile)
2 2
3 (pushnew 3 (pushnew
4 '(mercurial-test-output-tb 4 '(mercurial-test-output-tb
5 "\+ File \".*/install/lib/python/\\([^\"]*\\)\", line \\([0-9]*\\), in .*$" 5 "\+ File \".*/install/lib/python/\\([^\"]*\\)\", line \\([0-9]*\\)\\(, in .*\\)?$"
6 1 2) compilation-error-regexp-alist-alist) 6 1 2) compilation-error-regexp-alist-alist)
7 ;; add to the end so this gets priority 7 ;; add to the end so this gets priority
8 (setq compilation-error-regexp-alist 8 (setq compilation-error-regexp-alist
9 (append compilation-error-regexp-alist '(mercurial-test-output-tb))) 9 (append compilation-error-regexp-alist '(mercurial-test-output-tb)))
10 10