From unknown Sun Jun 22 07:59:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60492: 30.0.50; [PATCH]: Add expression_statement with only identifier Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: casouri@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2023 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60492 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 60492@debbugs.gnu.org Cc: casouri@gmail.com X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: casouri@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.16726638457711 (code B ref -1); Mon, 02 Jan 2023 12:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2023 12:50:45 +0000 Received: from localhost ([127.0.0.1]:42693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCKH6-00020I-Mu for submit@debbugs.gnu.org; Mon, 02 Jan 2023 07:50:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:44222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCKH5-00020B-1B for submit@debbugs.gnu.org; Mon, 02 Jan 2023 07:50:43 -0500 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 1pCKH4-0002t2-AK for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 07:50:42 -0500 Received: from out2.migadu.com ([2001:41d0:2:aacc::]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCKH2-0005Ae-5B for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 07:50:42 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1672663837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=eLyuBJhIY6XKiUpKdkjq29lrlPKWpAS5R9Ln4jcjask=; b=ktb0ffXqJt6T+COZJZa0FmPJXn4AoA5/BJhyMg1wj6dxWw0qPvMpnrMQaZyTRdAH8u/61q xE2VFffjhz0At8hdWvUmPMwFIACXL/n2fywCdSPjuPf1XjFo4IfiKP64y0lnFx+RGcJJpZ jJEX4yRsnNGolcIcvc+g5ducqHpzAypNXsBVVJTC81PMdr5JHgyeHLnXQMeVRLMfVsW8Xi eoOrimK2sVkH4kJ6qyc9bOxiAfm0AkAfXrAUJXP8dR9TPsB9QTiOmnKK8h3/KU4U2FxWcM VgCr6oUYB2BAhxHOOR4cDuWlJjJ1HtS0cIbilY7BBOiDvRs9ywv2cOZaJJndRQ== From: Theodor Thornhill Date: Mon, 02 Jan 2023 13:50:35 +0100 Message-ID: <87ilhp6qxw.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=theo@thornhill.no; helo=out2.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Hi Yuan, Can you apply this? Theo --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-expression_statement-with-only-identifier-suppor.patch >From a46a6863c3c3691d5d139432ff016c3c1f565fa9 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Mon, 2 Jan 2023 13:46:25 +0100 Subject: [PATCH] Add expression_statement with only identifier support * lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): New query. --- lisp/progmodes/java-ts-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index 2d3ffccb3d0..87a4e2b90f8 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el @@ -240,7 +240,9 @@ java-ts-mode--font-lock-settings (method_invocation name: (identifier) @font-lock-function-name-face) - (argument_list (identifier) @font-lock-variable-name-face)) + (argument_list (identifier) @font-lock-variable-name-face) + + (expression_statement (identifier) @font-lock-variable-name-face)) :language 'java :feature 'bracket -- 2.34.1 --=-=-=-- From unknown Sun Jun 22 07:59:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Theodor Thornhill Subject: bug#60492: closed (Re: bug#60492: 30.0.50; [PATCH]: Add expression_statement with only identifier) Message-ID: References: <87ilhp6qxw.fsf@thornhill.no> X-Gnu-PR-Message: they-closed 60492 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 60492@debbugs.gnu.org Date: Mon, 02 Jan 2023 22:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1672698662-23426-1" This is a multi-part message in MIME format... ------------=_1672698662-23426-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #60492: 30.0.50; [PATCH]: Add expression_statement with only identifier 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 60492@debbugs.gnu.org. --=20 60492: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60492 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1672698662-23426-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 60492-done) by debbugs.gnu.org; 2 Jan 2023 22:30:48 +0000 Received: from localhost ([127.0.0.1]:44280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCTKS-00065L-00 for submit@debbugs.gnu.org; Mon, 02 Jan 2023 17:30:48 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:33784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCTKP-000656-A7 for 60492-done@debbugs.gnu.org; Mon, 02 Jan 2023 17:30:46 -0500 Received: by mail-qt1-f182.google.com with SMTP id bp44so20721363qtb.0 for <60492-done@debbugs.gnu.org>; Mon, 02 Jan 2023 14:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=KW768hDRA0TevFmdYtpUmBJxF6fBJt9kYJGsFkV6WTQ=; b=itqCJckje/ZuLX59duoGiRitqJ43uhvYdXfSy/tmzCtDSxuiAUFASMmgU86YnxfA6w qasNOlqcIGK78hnkd7UVCztXMFshNDe5Jy27BwkzIYqq4Wdqc0DmDXH4MCKoMGFqwM2G eldgo4upc0vQgTxfMj50X/dWnNntvQYhU4hBl+HSbbXWmHWkn9xulQ9UC64lw+sc5CB2 3aj1F8FcVNz2wrKoR/wHkvCsxE1CNf71I6ylw1T/h41jRUjk+dadALELzXfhKQUwroQF ofxK3e/LZraW8xXAU3i7uLm2iFIMerHRIdJXxRm2jTwmqpUvrFoKaU+zMTssEtxooK99 9W3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KW768hDRA0TevFmdYtpUmBJxF6fBJt9kYJGsFkV6WTQ=; b=O1UAx6EwFHFA/JTv+ZSHVnB6O+MgbDzby8kkUTBhQTY7MHuNwRdgo7e8SCH0SEoiJE W6gg8Y56lG5dOolSYhMD/vLUbJeNqBxmN4gxOwanRGJnF1RKut2gGUmDaMrNVkKPjSGO XB+RuTK0PSP1o9O9cnnUIlropwplUy1QophrzDuLcT7js/Kgghg7/Xl3ALr5b12Z75l4 xY1GNnnQ3mvWxp+6KBO5YFRcOa7n80HBtZ43XedqfL8axWGqfIbg5iZ/YIJ6LS/jQiwn e4c8JPQ9hfyY3SgjWguB/b/Sc2GDZ8Di5Uc0VjGOXcJd/fukWA4W0zfSpaXS2Hcgv+kA gi4A== X-Gm-Message-State: AFqh2krgOqo8yyGEAjEl5U5GaG0ExN04GHi75ZivDWxbcO1EJ85TBeym v0m9euaHDOD22zsJ47le+a4= X-Google-Smtp-Source: AMrXdXvvpPMrqGDA7jHKagfgx+WJQi6KWvE14WDQ6fbkYYRRLRSmIyqRkwuw3WXviACP8X8dKPTUBw== X-Received: by 2002:ac8:4cc8:0:b0:3a8:e528:dab5 with SMTP id l8-20020ac84cc8000000b003a8e528dab5mr48706545qtv.0.1672698639900; Mon, 02 Jan 2023 14:30:39 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id g14-20020ac87d0e000000b003a7eceb8cbasm18321852qtb.90.2023.01.02.14.30.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2023 14:30:39 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: bug#60492: 30.0.50; [PATCH]: Add expression_statement with only identifier Message-Id: Date: Mon, 2 Jan 2023 14:30:38 -0800 To: Theodor Thornhill X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60492-done Cc: 60492-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Theodor Thornhill writes: > Hi Yuan, > > Can you apply this? > > Theo > Applied, thanks! Yuan ------------=_1672698662-23426-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Jan 2023 12:50:45 +0000 Received: from localhost ([127.0.0.1]:42693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCKH6-00020I-Mu for submit@debbugs.gnu.org; Mon, 02 Jan 2023 07:50:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:44222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCKH5-00020B-1B for submit@debbugs.gnu.org; Mon, 02 Jan 2023 07:50:43 -0500 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 1pCKH4-0002t2-AK for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 07:50:42 -0500 Received: from out2.migadu.com ([2001:41d0:2:aacc::]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCKH2-0005Ae-5B for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 07:50:42 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1672663837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=eLyuBJhIY6XKiUpKdkjq29lrlPKWpAS5R9Ln4jcjask=; b=ktb0ffXqJt6T+COZJZa0FmPJXn4AoA5/BJhyMg1wj6dxWw0qPvMpnrMQaZyTRdAH8u/61q xE2VFffjhz0At8hdWvUmPMwFIACXL/n2fywCdSPjuPf1XjFo4IfiKP64y0lnFx+RGcJJpZ jJEX4yRsnNGolcIcvc+g5ducqHpzAypNXsBVVJTC81PMdr5JHgyeHLnXQMeVRLMfVsW8Xi eoOrimK2sVkH4kJ6qyc9bOxiAfm0AkAfXrAUJXP8dR9TPsB9QTiOmnKK8h3/KU4U2FxWcM VgCr6oUYB2BAhxHOOR4cDuWlJjJ1HtS0cIbilY7BBOiDvRs9ywv2cOZaJJndRQ== From: Theodor Thornhill To: bug-gnu-emacs@gnu.org Subject: 30.0.50; [PATCH]: Add expression_statement with only identifier X-Debbugs-Cc: casouri@gmail.com Date: Mon, 02 Jan 2023 13:50:35 +0100 Message-ID: <87ilhp6qxw.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=theo@thornhill.no; helo=out2.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Hi Yuan, Can you apply this? Theo --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-expression_statement-with-only-identifier-suppor.patch >From a46a6863c3c3691d5d139432ff016c3c1f565fa9 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Mon, 2 Jan 2023 13:46:25 +0100 Subject: [PATCH] Add expression_statement with only identifier support * lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): New query. --- lisp/progmodes/java-ts-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index 2d3ffccb3d0..87a4e2b90f8 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el @@ -240,7 +240,9 @@ java-ts-mode--font-lock-settings (method_invocation name: (identifier) @font-lock-function-name-face) - (argument_list (identifier) @font-lock-variable-name-face)) + (argument_list (identifier) @font-lock-variable-name-face) + + (expression_statement (identifier) @font-lock-variable-name-face)) :language 'java :feature 'bracket -- 2.34.1 --=-=-=-- ------------=_1672698662-23426-1--