emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c59b8dfefa 2/2: Recognize Gradle error messages in compile-mode


From: Lars Ingebrigtsen
Subject: master c59b8dfefa 2/2: Recognize Gradle error messages in compile-mode
Date: Thu, 30 Jun 2022 05:04:36 -0400 (EDT)

branch: master
commit c59b8dfefa01f10687e1b5597088b2371275c421
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Recognize Gradle error messages in compile-mode
    
    * lisp/progmodes/compile.el
    (compilation-error-regexp-alist-alist): Recognize Gradle errors
    (bug#56249).
---
 lisp/progmodes/compile.el | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index db57093559..9f33186d8b 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -276,7 +276,16 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
           "): ")
      3 4 5 (1 . 2))
 
-    (iar
+    (gradle-android
+     ,(rx bol (* " ") "ERROR:"
+          (group-n 1                    ; file
+                   (+ (not (in ":\n"))))
+          ":"
+          (group-n 2 (+ digit))         ; line
+          ": ")
+     1 2)
+
+   (iar
      
"^\"\\(.*\\)\",\\([0-9]+\\)\\s-+\\(?:Error\\|Warnin\\(g\\)\\)\\[[0-9]+\\]:"
      1 2 nil (3))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]