From: Paul Pogonyshev Date: Mon, 18 May 2015 21:00:09 +0000 (+0300) Subject: Update Maven compilation-mode entry to distinguish warnings X-Git-Tag: emacs-25.0.90~2061 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c785a599affc186db1a72b93698bf47630418b9;p=emacs.git Update Maven compilation-mode entry to distinguish warnings * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Update Maven entry to distinguish warnings (bug#20556). --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 9d36e91cf8f..a58e393779a 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -216,7 +216,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) ;; due to matching filenames via \\(.*?\\). This might be faster. (maven ;; Maven is a popular free software build tool for Java. - "\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3) + "\\(\\[WARNING\\] *\\)?\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 2 3 4 (1)) (jikes-line "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)"