Allow parse error message for nant with -emacs and without this option.
authorOleksander Gavenko <gavenko_a@3g.ua>
Fri, 18 Apr 2008 00:07:14 +0300
changeset 27 abfaf7eff0b2
parent 26 09a8d7589cf8
child 28 b05bcec107fd
Allow parse error message for nant with -emacs and without this option.
.emacs
--- a/.emacs	Fri Apr 18 00:07:14 2008 +0300
+++ b/.emacs	Fri Apr 18 00:07:14 2008 +0300
@@ -698,7 +698,7 @@
 
 ;; My funny error messages.
 (require 'compile)
-(add-to-list 'compilation-error-regexp-alist-alist '(nant "\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 1 2 3))
+(add-to-list 'compilation-error-regexp-alist-alist '(nant "^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4))
 (add-to-list 'compilation-error-regexp-alist 'nant)
 
 ;; ----------------------------------------------------------------------