# HG changeset patch # User Oleksander Gavenko # Date 1208466434 -10800 # Node ID abfaf7eff0b20bea6a8fbe4582c46b2728dfd2b3 # Parent 09a8d7589cf809fed3e6d36c57a7fc71d7122465 Allow parse error message for nant with -emacs and without this option. diff -r 09a8d7589cf8 -r abfaf7eff0b2 .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) ;; ----------------------------------------------------------------------