GNU bug report logs - #76534
[PATCH] ; Cleanup sexp things in 'lua-ts-mode'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: jm@HIDDEN; Keywords: patch; Done: Stefan Kangas <stefankangas@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 76534-done <at> debbugs.gnu.org:


Received: (at 76534-done) by debbugs.gnu.org; 26 Feb 2025 03:54:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 22:54:20 2025
Received: from localhost ([127.0.0.1]:50154 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn8V2-00059k-DA
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 22:54:20 -0500
Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:50235)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tn8Uz-00059U-CB
 for 76534-done <at> debbugs.gnu.org; Tue, 25 Feb 2025 22:54:18 -0500
Received: by mail-ed1-x530.google.com with SMTP id
 4fb4d7f45d1cf-5e04064af07so10052455a12.0
 for <76534-done <at> debbugs.gnu.org>; Tue, 25 Feb 2025 19:54:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740542051; x=1741146851; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=BraJIYH+YN5Che/42v5tGwyXcMtiDgWcfchE3ejeJrc=;
 b=KEvqkCk1NbFhGtp1Sg4hT353oddj72anEZYvQ53B60izHEGvaOyFcghbgg5gTvhKJg
 j8SsRca85EOnmPV3Uj5f3WeJsSJxey9yOsGIn1zptymUfV4p40qmTSqOnQwhTU05VWfc
 Al51/kcauyAo/ftSg70WZitrjtb+cMgCKWRNy2JowueYkMVkhC9geGySBAveoM8+7C15
 UqjytEO+pOv0dIlqpy8/CyfTRbPlHTDSKLa5IYCphWBXV7OcrZmLapjd6I9GeVXXf/jm
 xR49De6Ob/A/GpE2Sf1atqeQmo5/MqDOgNJ3VqqwgPqr9NQy9PEIoyPISjp8J6wzVF62
 kKsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740542051; x=1741146851;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=BraJIYH+YN5Che/42v5tGwyXcMtiDgWcfchE3ejeJrc=;
 b=UjurtDulvFfV6mUW+I4k9kOsC1/gIqxXn/xnL1YtfQxJ1CnpN8zHxrh5SO2ANoRevy
 ZnqOJNd32pwl0JUUxEb+wiGAuKcyjsZU54eR5RGtAS7LYkI+iFBjoVMzXoATWSpcGhcU
 raYLiWZrJLvSFi9AO+ytVoCBEMYAxocPy1fWzw2BIRbUDcOQU6Tlf+la4fVR/ettQsgm
 oLoz+3OwS8cCNKk15IMqWqys4JlbtDophN7kc4SG7gjD0THHH9EsFRaKWqUR6FP2lqUM
 lVS6dCXaPiIW7nwFwCeVTT5pN9lOZ8oLv/jZL2mkqMETUJwFBfiNZ/qUynxMmYgkJtES
 2COA==
X-Gm-Message-State: AOJu0YxrLrWsh1XlR6QrgAN1b7WL1t6cHY2aF/2MI3gVv7vZ2IZGDX4l
 eaqBj0kH7GwTQx1rVZSfqb5C/de0ZnrBA/+UJU9F6yYSMJ2dfQ1jgRXKSDP8oIbpyVtYkR7csR4
 PzWAzUhbABiMsyBAxo0dWvbIPBpw=
X-Gm-Gg: ASbGnctJSOZs8vGzCKlUe3FljksHNc6/HCGfuNCY1GAxpuUCBJTcd6wV/Jk2AJvrkIo
 D60Tj4SsiPTIsjx2Dd8Z4WYtSiVyd1REh143Sqp66t+ajhdVQ9qsP8Nfhs1Sy+avps4cqOnBKZW
 OFer8OoFwT8w==
X-Google-Smtp-Source: AGHT+IEXGEdHbihO3xM1TzJPrG/Ix2WAPGBO+6UofqdcpICdQxjfV3KSPhqCT7ZPRajaM6MWMEz1idPZKtZcrhwMCDw=
X-Received: by 2002:a05:6402:440b:b0:5de:aa54:dc30 with SMTP id
 4fb4d7f45d1cf-5e444481387mr6167342a12.5.1740542050873; Tue, 25 Feb 2025
 19:54:10 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 26 Feb 2025 03:54:10 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87zfibj9y9.fsf@HIDDEN>
References: <87bjurkowr.fsf@HIDDEN> <87zfibj9y9.fsf@HIDDEN>
MIME-Version: 1.0
Date: Wed, 26 Feb 2025 03:54:10 +0000
X-Gm-Features: AQ5f1Jr4SgaTzMUSkvfBmDJ4p4lnVaskptBcXjAobJ-ql1g-rJGX27VHIgsBK-Q
Message-ID: <CADwFkmkb2kMCEGPHUbMniHw7PPZ0=P_hrvFtz_5SJAZE-U+o_Q@HIDDEN>
Subject: Re: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode'
To: john muhl <jm@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76534-done
Cc: 76534-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Version: 31.1

john muhl <jm@HIDDEN> writes:

>>From c2d2cecb68fa4612eeb0a7b819d6c4247d6fdd37 Mon Sep 17 00:00:00 2001
> From: john muhl <jm@HIDDEN>
> Date: Mon, 24 Feb 2025 15:21:38 -0600
> Subject: [PATCH] ; Cleanup sexp things in 'lua-ts-mode'
>
> * lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove some
> nonsensical entries from 'treesit-thing-settings'.
> * test/lisp/progmodes/lua-ts-mode-resources/movement.erts:
> Add missing tests for 'backward-sexp'.  (Bug#76534)

Thanks!  Installed on master and closing.




Notification sent to jm@HIDDEN:
bug acknowledged by developer. Full text available.
Reply sent to Stefan Kangas <stefankangas@HIDDEN>:
You have taken responsibility. Full text available.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 76534 <at> debbugs.gnu.org:


Received: (at 76534) by debbugs.gnu.org; 24 Feb 2025 21:43:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 16:43:23 2025
Received: from localhost ([127.0.0.1]:43084 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmgEU-00023P-Ia
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 16:43:23 -0500
Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]:42825)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1tmgER-000236-1F
 for 76534 <at> debbugs.gnu.org; Mon, 24 Feb 2025 16:43:20 -0500
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
 [10.202.2.46])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 4593E2540130
 for <76534 <at> debbugs.gnu.org>; Mon, 24 Feb 2025 16:43:13 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-06.internal (MEProxy); Mon, 24 Feb 2025 16:43:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc
 :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=1740433393; x=1740519793; bh=0fNFvi3D4j
 TZMe0nOIl3mYCpR248VOsRzunlPhe7mxc=; b=EKY1vJz9HXxBAoVu5sKVyOKfaM
 b+vK7hB3e3eTFKfG5DiRMbWf0JAkaRc1JjznBkdwv4YjzuW1wjUfRdgbX4UwXA5M
 znwCvfFAYXrUCs7FqKmc+BpLLVuCoVGXcJ0+5fnp/BdOh1ISTdXQevSfJAWNDJhV
 KViIOLrdVjxz8QVue8gKjKFkNZwmBE91cOfkfDuoxrScjsZG69bQM8/qnajbXqcx
 3e/KF1gOziCqjwXr7gYCdtR5kl3W+Stg7AatfDb7ElcIL+NNbVfDeXu8ov49KZFf
 DxViTz2DHrYD6xGH2bsByyoISYwUfyG5+W/+q7OujDUZejWW36q5dTk+P+LA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1740433393; x=1740519793; bh=0fNFvi3D4jTZMe0nOIl3mYCpR248VOsRzun
 lPhe7mxc=; b=XTeMel+O8hLRqBTwbTuxMMB9Da3sO5taqO12MLkWwayrDq/LeMo
 f4hbMtf56qa2uJBGP8wQPahugiakOS2Io4P+aUbOgUmMO9AeY+kNSBSHXSkklJat
 Kqcx6LP+WWs7+A5TIhTXz0CFdg5r/H2EkdLdtSUr0eCoTbI3mWmaX3sdgvlqwHjx
 UzUoxNoG8OcTorYJiTEpoUG2PIaZejUHq8hsWBUYS+SPnCSiuuAayGRSVJnM98Pz
 xDjlYhxlLlyzALcRE8d2q6Qn5R7W/vFS+si3dVk8NBnQxBypQ9ZbT5K3gawL2t3C
 kC/r95ckZU3KbIPDmh3H4z/K5j/ylUkU1Pw==
X-ME-Sender: <xms:8Oe8ZxMbJoOm18j3Km53tmyb_Cm3hErhaQFZTrZF6c3OZNuIA_pg3w>
 <xme:8Oe8Zz-1BstUWCXG5oKVSjIX_1r2StVlnw7LQgRnAC_xRPLH9dYhZUs1gOMi_tkhD
 Sfh_sbKV2g62VOFj9k>
X-ME-Received: <xmr:8Oe8ZwQeJigod2L8y4h9owWLKrGhDwCrXNDAeMUSbyf5RaGiWD5q8Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejleeltdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhf
 fvufffjgfkgggtsehmtderredtreejnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhm
 sehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepvddugfektdelleelhfdtvddtue
 eitdeftedvieduveejheeguefhgeevveffueetnecuvehluhhsthgvrhfuihiivgeptden
 ucfrrghrrghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpth
 htohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeeiheefgeesuggvsggs
 uhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:8Oe8Z9vLxb-BNvpHS1MAgTKClsqKh6TmO-4zy3z-fSRymoDi3FEdlw>
 <xmx:8Oe8Z5dShnAYo1Mb-MzfAeX9Cy3q6rld4Jw2GnOfCU0mxFZdjIdGCw>
 <xmx:8Oe8Z51wfy3AlxpRH13o1DDnJOECUWBVZtmxvYw0G9BtAf0dxc9xKA>
 <xmx:8Oe8Z1-SyUeztmck6av7zd7wW8NY6FD-xLUeX3ECwLGthb-dVxzsJA>
 <xmx:8ee8Z5FXGilzwwvtU4UyJoaDzbb9fHu91zj7nhX8oTFReelrn-5UKBTG>
Feedback-ID: i74194916:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <76534 <at> debbugs.gnu.org>; Mon, 24 Feb 2025 16:43:12 -0500 (EST)
References: <87bjurkowr.fsf@HIDDEN>
User-agent: mu4e 1.10.8; emacs 31.0.50
From: john muhl <jm@HIDDEN>
To: 76534 <at> debbugs.gnu.org
Subject: Re: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode'
Date: Mon, 24 Feb 2025 15:41:47 -0600
In-reply-to: <87bjurkowr.fsf@HIDDEN>
Message-ID: <87zfibj9y9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76534
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Cleanup-sexp-things-in-lua-ts-mode.patch

From c2d2cecb68fa4612eeb0a7b819d6c4247d6fdd37 Mon Sep 17 00:00:00 2001
From: john muhl <jm@HIDDEN>
Date: Mon, 24 Feb 2025 15:21:38 -0600
Subject: [PATCH] ; Cleanup sexp things in 'lua-ts-mode'

* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove some
nonsensical entries from 'treesit-thing-settings'.
* test/lisp/progmodes/lua-ts-mode-resources/movement.erts:
Add missing tests for 'backward-sexp'.  (Bug#76534)
---
 lisp/progmodes/lua-ts-mode.el                 | 13 +----
 .../lua-ts-mode-resources/movement.erts       | 58 +++++++++++++++++--
 2 files changed, 56 insertions(+), 15 deletions(-)

diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el
index d4c1f70dec3..25b8b2fbd3f 100644
--- a/lisp/progmodes/lua-ts-mode.el
+++ b/lisp/progmodes/lua-ts-mode.el
@@ -785,8 +785,7 @@ lua-ts-mode
                 `((lua
                    (function ,(rx (or "function_declaration"
                                       "function_definition")))
-                   (keyword ,(regexp-opt lua-ts--keywords
-                                         'symbols))
+                   (keyword ,(regexp-opt lua-ts--keywords 'symbols))
                    (loop-statement ,(rx (or "do_statement"
                                             "for_statement"
                                             "repeat_statement"
@@ -804,18 +803,10 @@ lua-ts-mode
                              keyword
                              loop-statement
                              ,(rx (or "arguments"
-                                      "break_statement"
-                                      "expression_list"
-                                      "false"
-                                      "identifier"
-                                      "nil"
-                                      "number"
                                       "parameters"
                                       "parenthesized_expression"
                                       "string"
-                                      "table_constructor"
-                                      "true"
-                                      "vararg_expression"))))
+                                      "table_constructor"))))
                    (text "comment"))))
 
     ;; Imenu/Outline/Which-function.
diff --git a/test/lisp/progmodes/lua-ts-mode-resources/movement.erts b/test/lisp/progmodes/lua-ts-mode-resources/movement.erts
index 11e86f12926..6e2ffb21d0e 100644
--- a/test/lisp/progmodes/lua-ts-mode-resources/movement.erts
+++ b/test/lisp/progmodes/lua-ts-mode-resources/movement.erts
@@ -436,9 +436,9 @@ function f(a, b)| end
 Name: forward-sexp moves over strings
 
 =-=
-print("|1, 2, 3")
+print(|"1, 2, 3")
 =-=
-print("1, 2, 3|")
+print("1, 2, 3"|)
 =-=-=
 
 Name: forward-sexp moves over tables
@@ -557,9 +557,9 @@ function f|(a, b) end
 Name: backward-sexp moves over strings
 
 =-=
-print("1, 2, 3|")
+print("1, 2, 3"|)
 =-=
-print("|1, 2, 3")
+print(|"1, 2, 3")
 =-=-=
 
 Name: backward-sexp moves over tables
@@ -601,3 +601,53 @@ end|
     end
 end
 =-=-=
+
+Name: backward-sexp moves over do statements
+
+=-=
+do
+  print(a + 1)
+end|
+=-=
+|do
+  print(a + 1)
+end
+=-=-=
+
+Name: backward-sexp moves over for statements
+
+=-=
+for k,v in pairs({}) do
+  print(k, v)
+end|
+=-=
+|for k,v in pairs({}) do
+  print(k, v)
+end
+=-=-=
+
+Name: backward-sexp moves over repeat statements
+
+=-=
+repeat
+  n = n + 1
+until n > 10|
+=-=
+|repeat
+  n = n + 1
+until n > 10
+=-=-=
+
+Name: backward-sexp moves over while statements
+
+=-=
+while n < 99
+do
+  n = n+1
+end|
+=-=
+|while n < 99
+do
+  n = n+1
+end
+=-=-=
-- 
2.48.1


--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



jm@HIDDEN writes:

> Tags: patch
>
> This removes some entities from treesit-thing-settings that don=E2=80=99t
> make sense to consider as s-expressions (probably leftovers from
> debugging or something) and didn=E2=80=99t have tests. It also adds tests
> for some backward-sexp cases that were missing them.
>
> Should apply cleanly to emacs-30 or master.


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76534; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Feb 2025 21:35:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 16:35:02 2025
Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmg6P-0001aF-Hm
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 16:35:01 -0500
Received: from lists.gnu.org ([2001:470:142::17]:56410)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1tmg6N-0001Zw-4x
 for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 16:34:59 -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 <jm@HIDDEN>) id 1tmg6C-0002w1-Uz
 for bug-gnu-emacs@HIDDEN; Mon, 24 Feb 2025 16:34:49 -0500
Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1tmg6B-0008Jh-9L
 for bug-gnu-emacs@HIDDEN; Mon, 24 Feb 2025 16:34:48 -0500
Received: from phl-compute-10.internal (phl-compute-10.phl.internal
 [10.202.2.50])
 by mailfout.stl.internal (Postfix) with ESMTP id 8AE111140148
 for <bug-gnu-emacs@HIDDEN>; Mon, 24 Feb 2025 16:34:44 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-10.internal (MEProxy); Mon, 24 Feb 2025 16:34:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc
 :content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:message-id:mime-version:reply-to:subject
 :subject:to:to; s=fm3; t=1740432884; x=1740519284; bh=GRmB/DpWuO
 x+8UWO6aVOzX+YESrK8mHD/uXLGkCU9OM=; b=1y5uj8zy5FmZHS8aMvKSamuGV/
 avJWmrgC8/2Nd/VoV9nOL4d+yT+rgh6qQXwUEMtPeR2+AmIKsnbhMneI9+It97WF
 ervLxLHLBrc4/sJx2bK6wVSiN7X29qNgKVkstgq3SejIl3Dh5dbHc5l8uAx4Tkvv
 pf2tH1lM2hsy74k0oEcsiyFzEIJVTcKb2ify+uLVgcFBzzIbbYwfEHRzqh4sRbYd
 HAyBj+vmtCsKW4ZgQILK4NhaG4kQhpOzHQge1HsdFerSKKtDjNZxoIMYDu/q31//
 QW8TTf51mYBw4kxBkyEQ7SSVpd4O/kMBYcMP+OdW4j1fGAiopWd3YQyCY9ig==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:message-id:mime-version:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1740432884; x=1740519284; bh=GRmB/DpWuOx+8UWO6aVOzX+YESrK8mHD/uX
 LGkCU9OM=; b=uW9Rfloy0Cohvofs02TiWrK/I3aYiRLS8GiEMA7y0gKfaCDelqf
 S+kuMTZjzNGsoPRg0kxlHhcb8zC4nNJnipnEWpb557zCqt6UNkoOOrB3tBCbq6fd
 FFEEuvfpIi718IJ5fSfVSEcOVZfLkDm+W4o5YIXhhJK2CDPPPKHgQHDcrkx0aFUr
 wuzmDoFcH1DAeJMfRIPxmeQFLW5zkYNrMAxlDuN6yT/BbM5xTxIy2WukRITe4oou
 EZnboGmafeZulQn8M5MkZevw3qFlUw/+pUpxoOlJmtHnZkVPQ38nTQ78JHCGc/Nc
 6oYG+16s4g9ii7HEsor1pCjRUkgqpm06u1A==
X-ME-Sender: <xms:9OW8Zz8nwDcs-pedTTtXYrMp8qyoh3DqZ0QTWLTkNoJRt9C8RrXhxA>
 <xme:9OW8Z_trHXiSauKGvD0GrzgUFRtWEOp_2wno_TatcTzL5X3DBdoKFMHpDWzSmdXzZ
 27mgh54l1oCPpCyqbc>
X-ME-Received: <xmr:9OW8ZxDUTsBLKZtwvmTjzuIiaGNYZ4Sa9jILIgG3Zhyweh9NZ-YwVg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejleekkecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf
 ffkfggtgfgsehtqhertddttdejnecuhfhrohhmpehjmhesphhusgdrphhinhhknecuggft
 rfgrthhtvghrnhepjeffhfeftdduleegtdejjeeljeelgfetvefhuefhtedvlefgvdffhf
 dvkeevhfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho
 mhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtph
 houhhtpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh
X-ME-Proxy: <xmx:9OW8Z_cWuldbx7agman-c2y9yV6RlJxgHwwNon0N3_4fl7GtncCcfA>
 <xmx:9OW8Z4N11SS_13RNmTRTsebY7q2ZkD_9P5WusHNxQCX9K09mRjf6iw>
 <xmx:9OW8ZxlXIeaMdDydoUcuPh_GrhinLCBE78uz9A-FU-b2uFtXC0fCiA>
 <xmx:9OW8ZysdHFykjk7FAitO-yaGwHp-qx4zcjcR1adPo_IyhOj9RWUg4A>
 <xmx:9OW8Zy1qSrmiXbRcHDuxVcgNZPy3XZjR3zoIpn56fBRd7-UiyqQo-40T>
Feedback-ID: i74194916:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Mon, 24 Feb 2025 16:34:43 -0500 (EST)
From: jm@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: [PATCH] ; Cleanup sexp things in 'lua-ts-mode'
Date: Mon, 24 Feb 2025 15:34:28 -0600
Message-ID: <87bjurkowr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=202.12.124.147; envelope-from=jm@HIDDEN;
 helo=fout-b4-smtp.messagingengine.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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Tags: patch

This removes some entities from treesit-thing-settings that don=E2=80=99t
make sense to consider as s-expressions (probably leftovers from
debugging or something) and didn=E2=80=99t have tests. It also adds tests
for some backward-sexp cases that were missing them.

Should apply cleanly to emacs-30 or master.




Acknowledgement sent to jm@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76534; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 26 Feb 2025 04:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.