Mercurial > dotfiles
annotate .elisp/settings/50.compilation-tweaks.el @ 231:6da5a4729bc7
hg-rebase-all: fix bogus loop
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 09 Oct 2010 15:47:24 -0500 |
parents | 1947b2c08f29 |
children | 1ba5a7b0a328 |
rev | line source |
---|---|
212
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 (require 'compile) |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 (pushnew |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
4 '(mercurial-test-output-tb |
213
1947b2c08f29
compilation: adjust regexp for hg tracebacks
Augie Fackler <durin42@gmail.com>
parents:
212
diff
changeset
|
5 "\+ File \".*/install/lib/python/\\([^\"]*\\)\", line \\([0-9]*\\)\\(, in .*\\)?$" |
212
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
6 1 2) compilation-error-regexp-alist-alist) |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
7 ;; add to the end so this gets priority |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
8 (setq compilation-error-regexp-alist |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
9 (append compilation-error-regexp-alist '(mercurial-test-output-tb))) |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
10 |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
11 ;; Use the next s-exp to remove the last list element if you need to |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
12 ;; live-edit this regex |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
13 ;; (setq compilation-error-regexp-alist-alist |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
14 ;; (cdr compilation-error-regexp-alist-alist)) |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
15 ;; (setq compilation-error-regexp-alist |
4716b238db2e
emacs: add compilation-mode regexp for hg test tracebacks
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
16 ;; (reverse (cdr (reverse compilation-error-regexp-alist)))) |