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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Subject: bug#20556: closed (Re: bug#20556: [PATCH] compilation mode
 highlights Maven compilation warnings as errors)
Date: Mon, 18 May 2015 21:06:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#20556: [PATCH] compilation mode highlights Maven compilation warnings as errors

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 20556 <at> debbugs.gnu.org.

-- 
20556: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20556
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 20556-done <at> debbugs.gnu.org
Subject: Re: bug#20556: [PATCH] compilation mode highlights Maven compilation
 warnings as errors
Date: Tue, 19 May 2015 00:04:55 +0300
On 05/18/2015 10:25 AM, Paul Pogonyshev wrote:
> This is an excerpt of Maven 3.1 output on a project, where I
> artificially added some errors to the source code:

Thanks. I've pushed your patch.

[Message part 3 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] compilation mode highlights Maven compilation warnings as
 errors
Date: Tue, 12 May 2015 16:04:58 +0200
[Message part 4 (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 5 (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.