GNU bug report logs - #20556
[PATCH] compilation mode highlights Maven compilation warnings as errors

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Tue, 12 May 2015 14:06:02 UTC

Severity: minor

Tags: patch

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: 20556 <at> debbugs.gnu.org
Subject: bug#20556: [PATCH] compilation mode highlights Maven compilation warnings as errors
Date: Tue, 12 May 2015 16:04:58 +0200
[Message part 1 (text/plain, inline)]
Trivial patch follows. Might be not generic enough, but certainly an
improvement in my case.

Paul

--- /tmp/olBiri_compile.el    2015-05-12 16:02:38.958969722 +0200
+++ lisp/progmodes/compile.el    2015-05-12 16:02:36.838967609 +0200
@@ -216,7 +216,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?
     ;; 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\\)\\)\\)"
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.