From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71209: [PATCH] Add font-locking for variables in go-ts-mode range clauses Date: Sat, 1 Jun 2024 04:51:08 +0300 Message-ID: <269722b9-1dcd-47e5-8f60-e8a2ff273259@gutov.dev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 71209@debbugs.gnu.org To: Noah Peart , Randy Taylor Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 01 03:52:18 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 1sDDur-0001v5-4E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jun 2024 03:52:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDDuV-0000GT-2x; Fri, 31 May 2024 21:51:55 -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 1sDDuR-0000G8-9k for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 21:51:52 -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 1sDDuR-00080M-1Y for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 21:51:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDDuc-0007yv-Ct for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 21:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2024 01:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71209 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71209-submit@debbugs.gnu.org id=B71209.171720669430646 (code B ref 71209); Sat, 01 Jun 2024 01:52:02 +0000 Original-Received: (at 71209) by debbugs.gnu.org; 1 Jun 2024 01:51:34 +0000 Original-Received: from localhost ([127.0.0.1]:55520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDDu9-0007yD-VM for submit@debbugs.gnu.org; Fri, 31 May 2024 21:51:34 -0400 Original-Received: from wfhigh4-smtp.messagingengine.com ([64.147.123.155]:42405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDDu6-0007xx-Er for 71209@debbugs.gnu.org; Fri, 31 May 2024 21:51:32 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id 0F91F180007D; Fri, 31 May 2024 21:51:11 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 31 May 2024 21:51:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1717206671; x=1717293071; bh=MU717e9vo/+ZS9aRXZw+gYiKDsx88MhM21UjJSXKsTQ=; b= QwhNqBdq4AjO1FQN1atZN2Qr6kKnsaT3b4AAwd+Kw+fSriybMHmi6MTK81gxu5s8 hqnui0DBqwtroMcI9Kd+2MfQQSHIr9JgnwwdgJput6uM5OV8kndSArYo21TqQWK+ lW8sn2HcG0kf7cZzupYTabXoSTLy1/AVIQ+9PJH1n+ZG2OMfmDbyBnp6i2yT7c3r E36aaPDokapeV+XAjUUkCvY0xg8AwC2trhGYr+uhVK4eoeArdL8tuuVY4Ssw/YJE u41Tlw/EbiYUUk8NVE+C+ytAdaqnsYvM5xPOG92w7Rh9nMlM8hKN2W5xVb+54nya lFtCBkRyxu3sa9e8Fgt2Kg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717206671; x= 1717293071; bh=MU717e9vo/+ZS9aRXZw+gYiKDsx88MhM21UjJSXKsTQ=; b=e IWOB+ovGJqhiLTWwEecMnRSIbaww2Z01noB4xPnNeKdCsfKnaqjJ0RIeWcLStsWw OwUfq+s4DIwM2PjBg51ga3N7TxjsXUZB/O25QrJdegT3+rgiya0lTzgiJje1NnVv Iv7FPYDZ3aOrrcryOw7XO6ZZ6GqjDrV7/KO4tMgRgOZB6Urcj9b/9zuBk+/weT32 MXnKTFiCw+Mj6J+9JI5S4bs4xhI3WzZZO69rX9wKLEHkPQEMz+WWYSVWxQlyJ6AE Y0uZMSbnaV9h/DKntAxJ9jJ5QRpDr8zLcjxFBnnMmLxTjCTJnZOVd+Sa/BK1NmpL 0EaONo5AzrKhQoHpdNjZA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekjedghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 May 2024 21:51:10 -0400 (EDT) Content-Language: en-US In-Reply-To: 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:286307 Archived-At: On 01/06/2024 04:42, Noah Peart wrote: > I suppose most people keep the default font-locking for variable-name > and variable-use, so these missing rules go unnoticed. Only if you set treesit-font-lock-level to 4, right?