Subject: bug#70797: [PATCH] Make the Compilation mode recognize non-legacy Kotlin/Gradle errors

From: Eli Zaretskii <[email-masked]>
Date: Sat, 11 May 2024 11:56:02 +0300

> From: Rudolf Adamkovič <[email-masked]>
> Date: Mon, 06 May 2024 00:14:04 +0200
> 
> >From 8ff95a02a321d730e2c3171b18ddb55f3a554d20 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= <[email-masked]>
> Date: Thu, 2 May 2024 19:06:11 +0200
> Subject: [PATCH] Make the Compilation mode recognize non-legacy Kotlin/Gradle
>  errors
> 
> The Compilation mode recognizes Kotlin/Gradle errors but only in the old
> format.  The new format, which has been in wide use for about a year, is
> not supported.  This patch adds support for the new format.
> 
> * etc/compilation.txt:
> (symbols): Add a non-legacy Kotlin/Gradle warning and error.
> * lisp/progmodes/compile.el:
> (compilation-error-regexp-alist-alist): Rename 'gradle-kotlin' to
> 'gradle-kotlin-legacy' and add 'grade-kotlin' that matches errors and
> warnings outputted by non-legacy Kotlin/Gradle.
> ---
>  etc/compilation.txt       | 13 +++++++++++--
>  lisp/progmodes/compile.el | 20 +++++++++++++++++---
>  2 files changed, 28 insertions(+), 5 deletions(-)

Thanks, but:

  . applying this fails compile-tests in the test suite, so I guess
    some adjustment there is also needed;
  . you removed the comment with the pointer to kotlin sources, which
    might be still useful for the legacy format (unless the URL is no
    longer valid), so please restore that if the pointer can still be
    useful

Thanks.