# HG changeset patch # User Oleksandr Gavenko # Date 1350910587 -10800 # Node ID 5d0ffd485a43e4b9283b60f8e9e54e3e581268af # Parent 72d443fe2b1d4e652176c73e433c47e7cee55ad5 Add error parsing from Maven. diff -r 72d443fe2b1d -r 5d0ffd485a43 .emacs-my --- a/.emacs-my Wed Oct 17 13:26:01 2012 +0300 +++ b/.emacs-my Mon Oct 22 15:56:27 2012 +0300 @@ -1933,6 +1933,8 @@ (add-to-list 'compilation-error-regexp-alist '("^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4)) (add-to-list 'compilation-error-regexp-alist '("^ *\\(.*\\)(\\([0-9]*\\)) +:" 1 2)) (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2)) ; KEIL compiler + (add-to-list 'compilation-error-regexp-alist-alist '(maven "\\[ERROR\\] \\(.*\\.java\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3)) + (add-to-list 'compilation-error-regexp-alist 'maven) (when (boundp 'compilation-mode-font-lock-keywords) (add-to-list 'compilation-mode-font-lock-keywords '("\\(/[Oo][Uu][Tt]:[^[:blank:]]+\\)" . 1)) (add-to-list 'compilation-mode-font-lock-keywords '("[[:blank:]]\\(/F[oe][^[:blank:]]+\\)" . 1))