From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70797: [PATCH] Make the Compilation mode recognize non-legacy Kotlin/Gradle errors Date: Sat, 11 May 2024 11:56:02 +0300 Message-ID: <86jzk03exp.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23451"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70797@debbugs.gnu.org To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 11 10:57:28 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s5iXn-0005ss-5v for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 May 2024 10:57:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5iXR-0005Tk-Vx; Sat, 11 May 2024 04:57:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5iXO-0005Rj-W1 for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 04:57:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5iXO-00026E-Nm for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 04:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5iXN-0006tf-T2 for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 04:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2024 08:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70797 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70797-submit@debbugs.gnu.org id=B70797.171541777326470 (code B ref 70797); Sat, 11 May 2024 08:57:01 +0000 Original-Received: (at 70797) by debbugs.gnu.org; 11 May 2024 08:56:13 +0000 Original-Received: from localhost ([127.0.0.1]:47132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5iWa-0006ss-TY for submit@debbugs.gnu.org; Sat, 11 May 2024 04:56:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5iWZ-0006sm-27 for 70797@debbugs.gnu.org; Sat, 11 May 2024 04:56:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5iWU-0001y1-Ed; Sat, 11 May 2024 04:56:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=mshnIxk7Ri9KA9pfR5mZ0hzqAJwNhDrFY1ePI3eYE6M=; b=ZRye67SKM8xwrbLaS6Xu InXvU3PWzJYAs+rkRyaJlFHSFM82rG87mc1vE6Hd1tO9uo/kOlTsCDU/Vxxi9jnQxYAK78xV6K6u3 WfEGy0iqjuLW6fM1KOtje1986Ho98W6Z4R4Gu5s/ZVQPzi+lDln2YvBRcnMgMRx8u3HF2ZLt3t/zY 2ZMJj2rlnur8Y5cSQ010sKuFyQj0XAZLUOWfHvNsO6TtJ/OrWfBjOFlb8moQnt9aOgV9lVduVTSjn dw1AjrK6ugyCt45Fui4aoHh0PCIfutb5VRSwWxcTNBA2OLgazhRma36NS/bq6oB3S0mq25MBqkQjN OSpW/Cqugr7AKQ==; In-Reply-To: (message from Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= on Mon, 06 May 2024 00:14:04 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284850 Archived-At: > From: Rudolf Adamkovič > 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?= > 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.