From unknown Wed Jun 18 00:29:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: casouri@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2022 10:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 60086@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.16711014416548 (code B ref -1); Thu, 15 Dec 2022 10:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2022 10:50:41 +0000 Received: from localhost ([127.0.0.1]:42788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5lp2-0001hY-Qt for submit@debbugs.gnu.org; Thu, 15 Dec 2022 05:50:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:52968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5loz-0001hO-5F for submit@debbugs.gnu.org; Thu, 15 Dec 2022 05:50:39 -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 1p5loy-0000WD-Vz for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 05:50:37 -0500 Received: from out-142.mta0.migadu.com ([91.218.175.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5low-0005zi-5f for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 05:50:36 -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=1671101431; 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=9eHIum+gUaqEdlr1zHEZI3M0dMl/gj0GlLZBdqtcKD0=; b=CzYr7pLJUIPQPHhCTSx7nIx5yKG/rgiS3AA3geM2CqYuQtzB0J5PQ4VSx4eoTspKg3ILbf hmuWp7ROtkd/QU4tghC72+2oP02x0GQmTSAO9duqmb+/GN8dObPyhgyFZXGxnRITeKCYbe 0bhGR/w7dnImp068uOlLkCXtKZU9cI27MO2UAS2XUJVRHtplK7olDpo+yQ1QV5WUPVNAfx y9o4vYq/tJk4CxCbHSELObmZVkXAsNoUNfiD5cLSBzzeauHZimu+JCH5aV3chCoXuZfN2c suF07Ij8qMZoKco411BVICiz3LdibnOYexDClmM5KS2bRzuEGShC+SFyvr8uzQ== From: Theodor Thornhill Date: Thu, 15 Dec 2022 11:50:30 +0100 Message-ID: <87sfhhvt3d.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.142; envelope-from=theo@thornhill.no; helo=out-142.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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, Will you install this? Thanks, Theo --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Add-this-keyword-to-java-ts-mode.patch >From 7eabfe6a71802ae971378fd3f54f822276460b23 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Thu, 15 Dec 2022 11:48:32 +0100 Subject: [PATCH] Add this keyword to java-ts-mode * lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): Add the node to the keyword feature. --- lisp/progmodes/java-ts-mode.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index ac591a0859..559a4efef2 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el @@ -144,9 +144,10 @@ java-ts-mode--font-lock-settings :language 'java :override t :feature 'keyword - `([,@java-ts-mode--keywords] @font-lock-keyword-face - (labeled_statement - (identifier) @font-lock-keyword-face)) + `([,@java-ts-mode--keywords + (this)] @font-lock-keyword-face + (labeled_statement + (identifier) @font-lock-keyword-face)) :language 'java :override t :feature 'operator -- 2.34.1 --=-=-=-- From unknown Wed Jun 18 00:29:59 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#60086: closed (Re: bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode) Message-ID: References: <6FE96D7E-4BCB-467E-AE85-957BFEC7FD8A@gmail.com> <87sfhhvt3d.fsf@thornhill.no> X-Gnu-PR-Message: they-closed 60086 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 60086@debbugs.gnu.org Date: Fri, 16 Dec 2022 01:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1671153062-25877-1" This is a multi-part message in MIME format... ------------=_1671153062-25877-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode 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 60086@debbugs.gnu.org. --=20 60086: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60086 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1671153062-25877-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 60086-done) by debbugs.gnu.org; 16 Dec 2022 01:10:40 +0000 Received: from localhost ([127.0.0.1]:45984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5zFH-0006ir-Sy for submit@debbugs.gnu.org; Thu, 15 Dec 2022 20:10:40 -0500 Received: from mail-pg1-f175.google.com ([209.85.215.175]:42651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5zFE-0006ik-Bl for 60086-done@debbugs.gnu.org; Thu, 15 Dec 2022 20:10:38 -0500 Received: by mail-pg1-f175.google.com with SMTP id h33so773313pgm.9 for <60086-done@debbugs.gnu.org>; Thu, 15 Dec 2022 17:10:36 -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=tCmGzrj2vGKSx77w6yR1NVnHGiSAEHDKw5uo94gKG1A=; b=CLShMQq0a0h5jL8fKex1igTKrsFIY5lvOr6VXwNAztxd3XFngEWulKRlZ/H2om1aOG ZQ16A0iNx1cgijoJkITFq7pxlccBe3I0nRP6DE07Ts2WjQ7oEh6bdP53E331VClVjBS/ zSY793Nm/5jUFqjd/J6TCbq+IJLrki19MSd8XkZUW/CCNrstVzhsIDh1H7ZF2Gg61v05 pOYfpZXhOXxTuiN92PU0QY/hUHt7xHttwFt622wbjeegx84L3kYg/VLTejwk9q4Q6pmP BhjQ9ccwYfBlFRq1mB4wZqmafeVhz7Q39/7MANe2dTTCMsdyKCOz0gSh4TB9qdGXmSIL A4MQ== 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=tCmGzrj2vGKSx77w6yR1NVnHGiSAEHDKw5uo94gKG1A=; b=DcrtJppZjnflTcajHpdwCI8NS3/Ns3zyV2Qdm05Jz/iJkiIq7kkn9TuZ4vkoxD5J4p hMJw1vHNvCpAxS9Tav9het8RebsQsJIyIenX8F3p4oZMGsZaRee4cLbmb1oGw8KruLXQ OZ2Ew/14so37fd+r3G6D1QZQFZXuaGrJw2EU+AwyrrImoEDPYH2Tynpwj0m51UKVfay8 I/AfgcsJPITxxHibgc/U0UVf4iXYgvEdMFItYGj+Byj3+OgTu1ktblV+zkt9IhCZKIDx WXgVlCEdb0q/E2kURiGVP3w/DXHgg7sZsD7MsgFTO+vnTeUMA+aZUUHvNcBv8kpeKBBR MdeA== X-Gm-Message-State: ANoB5pntaP4HhADR/UeDpA8pEMlgdHeE16VzREWq2w4JNRPRapyDyCGU kQ6yqjzau9PHbqEYZgR8exnycLKMyqE= X-Google-Smtp-Source: AA0mqf7Vbup5+Q7itMbwmJHewuLa2BzzW9lN5P7PHKnzmHc696oOhnkg6+aIpNNKbu6g83Qpl7Glcg== X-Received: by 2002:a62:5fc1:0:b0:566:900d:4667 with SMTP id t184-20020a625fc1000000b00566900d4667mr33679487pfb.1.1671153028221; Thu, 15 Dec 2022 17:10:28 -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 x28-20020aa78f1c000000b00575caf8478dsm230319pfr.41.2022.12.15.17.10.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2022 17:10:27 -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#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode Message-Id: <6FE96D7E-4BCB-467E-AE85-957BFEC7FD8A@gmail.com> Date: Thu, 15 Dec 2022 17:10:26 -0800 To: Theodor Thornhill X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60086-done Cc: 60086-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, > > Will you install this? > > Thanks, > Theo > Applied, thanks! Yuan ------------=_1671153062-25877-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Dec 2022 10:50:41 +0000 Received: from localhost ([127.0.0.1]:42788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5lp2-0001hY-Qt for submit@debbugs.gnu.org; Thu, 15 Dec 2022 05:50:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:52968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5loz-0001hO-5F for submit@debbugs.gnu.org; Thu, 15 Dec 2022 05:50:39 -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 1p5loy-0000WD-Vz for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 05:50:37 -0500 Received: from out-142.mta0.migadu.com ([91.218.175.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5low-0005zi-5f for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 05:50:36 -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=1671101431; 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=9eHIum+gUaqEdlr1zHEZI3M0dMl/gj0GlLZBdqtcKD0=; b=CzYr7pLJUIPQPHhCTSx7nIx5yKG/rgiS3AA3geM2CqYuQtzB0J5PQ4VSx4eoTspKg3ILbf hmuWp7ROtkd/QU4tghC72+2oP02x0GQmTSAO9duqmb+/GN8dObPyhgyFZXGxnRITeKCYbe 0bhGR/w7dnImp068uOlLkCXtKZU9cI27MO2UAS2XUJVRHtplK7olDpo+yQ1QV5WUPVNAfx y9o4vYq/tJk4CxCbHSELObmZVkXAsNoUNfiD5cLSBzzeauHZimu+JCH5aV3chCoXuZfN2c suF07Ij8qMZoKco411BVICiz3LdibnOYexDClmM5KS2bRzuEGShC+SFyvr8uzQ== From: Theodor Thornhill To: bug-gnu-emacs@gnu.org Subject: 30.0.50; [PATCH]: Add this keyword to java-ts-mode X-Debbugs-Cc: casouri@gmail.com Date: Thu, 15 Dec 2022 11:50:30 +0100 Message-ID: <87sfhhvt3d.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.142; envelope-from=theo@thornhill.no; helo=out-142.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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, Will you install this? Thanks, Theo --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Add-this-keyword-to-java-ts-mode.patch >From 7eabfe6a71802ae971378fd3f54f822276460b23 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Thu, 15 Dec 2022 11:48:32 +0100 Subject: [PATCH] Add this keyword to java-ts-mode * lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): Add the node to the keyword feature. --- lisp/progmodes/java-ts-mode.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index ac591a0859..559a4efef2 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el @@ -144,9 +144,10 @@ java-ts-mode--font-lock-settings :language 'java :override t :feature 'keyword - `([,@java-ts-mode--keywords] @font-lock-keyword-face - (labeled_statement - (identifier) @font-lock-keyword-face)) + `([,@java-ts-mode--keywords + (this)] @font-lock-keyword-face + (labeled_statement + (identifier) @font-lock-keyword-face)) :language 'java :override t :feature 'operator -- 2.34.1 --=-=-=-- ------------=_1671153062-25877-1--