From unknown Sat Jun 21 10:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode' Resent-From: jm@pub.pink Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2025 21:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 76534@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17404329026107 (code B ref -1); Mon, 24 Feb 2025 21:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2025 21:35:02 +0000 Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmg6P-0001aF-Hm for submit@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 ) id 1tmg6N-0001Zw-4x for submit@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 ) id 1tmg6C-0002w1-Uz for bug-gnu-emacs@gnu.org; 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 ) id 1tmg6B-0008Jh-9L for bug-gnu-emacs@gnu.org; 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejleekkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkfggtgfgsehtqhertddttdejnecuhfhrohhmpehjmhesphhusgdrphhinhhknecuggft rfgrthhtvghrnhepjeffhfeftdduleegtdejjeeljeelgfetvefhuefhtedvlefgvdffhf dvkeevhfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 24 Feb 2025 16:34:43 -0500 (EST) From: jm@pub.pink Date: Mon, 24 Feb 2025 15:34:28 -0600 Message-ID: <87bjurkowr.fsf@pub.pink> 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@pub.pink; 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-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: -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. From unknown Sat Jun 21 10:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode' Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2025 21:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 76534@debbugs.gnu.org Received: via spool by 76534-submit@debbugs.gnu.org id=B76534.17404334037904 (code B ref 76534); Mon, 24 Feb 2025 21:44:03 +0000 Received: (at 76534) by debbugs.gnu.org; 24 Feb 2025 21:43:23 +0000 Received: from localhost ([127.0.0.1]:43084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmgEU-00023P-Ia for submit@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 ) id 1tmgER-000236-1F for 76534@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@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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejleeltdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhf fvufffjgfkgggtsehmtderredtreejnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhm sehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepvddugfektdelleelhfdtvddtue eitdeftedvieduveejheeguefhgeevveffueetnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpth htohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeeiheefgeesuggvsggs uhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <76534@debbugs.gnu.org>; Mon, 24 Feb 2025 16:43:12 -0500 (EST) References: <87bjurkowr.fsf@pub.pink> User-agent: mu4e 1.10.8; emacs 31.0.50 From: john muhl Date: Mon, 24 Feb 2025 15:41:47 -0600 In-reply-to: <87bjurkowr.fsf@pub.pink> Message-ID: <87zfibj9y9.fsf@pub.pink> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) 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.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 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@pub.pink 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. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 24 16:48:58 2025 Received: (at control) by debbugs.gnu.org; 24 Feb 2025 21:48:58 +0000 Received: from localhost ([127.0.0.1]:43099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmgJt-0002KK-OE for submit@debbugs.gnu.org; Mon, 24 Feb 2025 16:48:58 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:45205) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tmgJl-0002Jo-Sq for control@debbugs.gnu.org; Mon, 24 Feb 2025 16:48:53 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5e04cb346eeso8218322a12.2 for ; Mon, 24 Feb 2025 13:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740433724; x=1741038524; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=hsPqcaCB5eT1BRimHdN1qQ+6Phiu2RXtnW/m0WDOkRw=; b=XgeHlzC3w93QGb9k1zz3CDaqPpV3SXmXjP2ISHoR3eevqY+e6oIHdCkxOk9UlWXUv8 U3nRXNBEaC4v41TCVoRAt9MEQlaqkUqtWI98feKbJAFsT1JF0IJP5RctNSoo3jQ2lX2g A+BJQSFRk0H8YOfOQ8CmE4T+JMzX63YuSRBJB74rf1Xr2YLMPUenfRZ5/I4VrKEfGnRV V2YhfljMMc3+FAB1qqbh3ReUtC3ngnkq3lUcqQ3wcgiFj+3EiS83N8R1tX+FAgdx2jHZ ZZ2Cy5aVZ8QXbZeaiy1ia/UmPYElFRpbC7t8F7s2oW8PibeaQhuwFNLltdbe/uAEbxjs 8M7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740433724; x=1741038524; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hsPqcaCB5eT1BRimHdN1qQ+6Phiu2RXtnW/m0WDOkRw=; b=J6Vp+OifkkwVLPI5K3ECQ73zQcrPGlOOhVYhDxY6FSmzPw66hEblW/Vel43AiMBMzs 0ugpRVFAI76RjvcUryjt0elcFfRcz4qgTlui34s58p0TeckW+MV6U96qE+b0LX2ytjgV l8JW5cwlXjbx7UDHypV+CcnC4OoqsDmlUlbRa0hYm1weQnqGzjO+pZCUrs4vXgf0p5pF uT9NIdoqRT4CdIS+oJKRnicpeDc1gGvKIcJUqi+lyC5Ft4Yy2/AiYQnhjY9LxSxOQyOc Ff0zOEzVBxeg17FpfDFHTQ4k68j+9w3rrWONrLpxCIa6LM8m2cVZTpvz5bfOIZ+zTSvB lCoQ== X-Gm-Message-State: AOJu0YzqqP1QkELSGB18VdqNky68eJEqBtuLQtL6Ws7tEmm8DqWTHiFB R2ZXycUzx6sIm7gTrgu55pVScQR8Fnil3SSnFvjCe2wUEg4ScdwF2JHBR0zhigBMHj0AWJI6FGY Zjny05fSNjwQcBFL/pMVpN2/o54dcmNqtDzg= X-Gm-Gg: ASbGnctz7ae66LDp0JWOBUs6f2sWPus9HJJIpshAj4yCipwXQWY8fUetx0d99ofk5N/ Ah6yycX+mTN77uGvqmpMlTZ+EdbD7aaD8sKo8fU9ZmF86RipkS/IP8UsgXi0gGhBABeeOuXrqAh DjlcByJHfITA== X-Google-Smtp-Source: AGHT+IHuA5tzLeuS09eeTLs9c0DyTXl7aO+j+xBZT+MuwxInhgxD/MeoaXBKeak+eFUA9XguyiLy/mRT4SaPB5k2OSw= X-Received: by 2002:a05:6402:430a:b0:5de:6bc2:7bb with SMTP id 4fb4d7f45d1cf-5e0b7103f28mr15274571a12.17.1740433723508; Mon, 24 Feb 2025 13:48:43 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 24 Feb 2025 21:48:42 +0000 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 24 Feb 2025 21:48:42 +0000 X-Gm-Features: AWEUYZkdV1oWOqTUcS22lGIDDBxaghl1sFpohM6rOjdkibrsm53sfElzHbbSQYs Message-ID: Subject: control message for bug #76534 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) severity 76534 minor quit From unknown Sat Jun 21 10:38:43 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: jm@pub.pink Subject: bug#76534: closed (Re: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode') Message-ID: References: <87bjurkowr.fsf@pub.pink> X-Gnu-PR-Message: they-closed 76534 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 76534@debbugs.gnu.org Date: Wed, 26 Feb 2025 03:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1740542102-19895-1" This is a multi-part message in MIME format... ------------=_1740542102-19895-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76534: [PATCH] ; Cleanup sexp things in 'lua-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 76534@debbugs.gnu.org. --=20 76534: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76534 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1740542102-19895-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76534-done) by debbugs.gnu.org; 26 Feb 2025 03:54:20 +0000 Received: from localhost ([127.0.0.1]:50154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tn8V2-00059k-DA for submit@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 ) id 1tn8Uz-00059U-CB for 76534-done@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@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 In-Reply-To: <87zfibj9y9.fsf@pub.pink> References: <87bjurkowr.fsf@pub.pink> <87zfibj9y9.fsf@pub.pink> MIME-Version: 1.0 Date: Wed, 26 Feb 2025 03:54:10 +0000 X-Gm-Features: AQ5f1Jr4SgaTzMUSkvfBmDJ4p4lnVaskptBcXjAobJ-ql1g-rJGX27VHIgsBK-Q Message-ID: Subject: Re: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode' To: john muhl Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76534-done Cc: 76534-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 (-) Version: 31.1 john muhl writes: >>>From c2d2cecb68fa4612eeb0a7b819d6c4247d6fdd37 Mon Sep 17 00:00:00 2001 > From: john muhl > 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. ------------=_1740542102-19895-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Feb 2025 21:35:02 +0000 Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmg6P-0001aF-Hm for submit@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 ) id 1tmg6N-0001Zw-4x for submit@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 ) id 1tmg6C-0002w1-Uz for bug-gnu-emacs@gnu.org; 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 ) id 1tmg6B-0008Jh-9L for bug-gnu-emacs@gnu.org; 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejleekkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkfggtgfgsehtqhertddttdejnecuhfhrohhmpehjmhesphhusgdrphhinhhknecuggft rfgrthhtvghrnhepjeffhfeftdduleegtdejjeeljeelgfetvefhuefhtedvlefgvdffhf dvkeevhfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 24 Feb 2025 16:34:43 -0500 (EST) From: jm@pub.pink To: bug-gnu-emacs@gnu.org Subject: [PATCH] ; Cleanup sexp things in 'lua-ts-mode' Date: Mon, 24 Feb 2025 15:34:28 -0600 Message-ID: <87bjurkowr.fsf@pub.pink> 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@pub.pink; 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@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: -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. ------------=_1740542102-19895-1-- From unknown Sat Jun 21 10:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76534: [PATCH] ; Cleanup sexp things in 'lua-ts-mode' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Mar 2025 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: john muhl Cc: 76534-done@debbugs.gnu.org Received: via spool by 76534-done@debbugs.gnu.org id=D76534.174083408321857 (code D ref 76534); Sat, 01 Mar 2025 13:02:02 +0000 Received: (at 76534-done) by debbugs.gnu.org; 1 Mar 2025 13:01:23 +0000 Received: from localhost ([127.0.0.1]:35234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toMT5-0005gT-CL for submit@debbugs.gnu.org; Sat, 01 Mar 2025 08:01:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38508) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1toMT3-0005gB-G6 for 76534-done@debbugs.gnu.org; Sat, 01 Mar 2025 08:01:22 -0500 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 1toMSx-00053x-8b; Sat, 01 Mar 2025 08:01:15 -0500 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=QUCgas4ikWur8fAavgthYQDAVFMubKtUbcOXAKIpJsg=; b=N9/La4Fv3MyZG70Q93P3 45futkCUKSlxKQ5amSXUe2HpkLKwxsdMuj3oDFXHlOBNfVOQEyIuLLyAD5gvwNjXUG9m6r1CxK+yA U5BkYgJkbR4HCAqwIMjBQkxpUw/6kYGTp+SRXcq3ZduBWNvXNuIBK665XhhjwG8hKu5OSX7XKSem2 6b/Gc7s0RFamFrqQ6X2Gndkaon0AG1hQWxzq+DzMWkSYmY8ErBelxEnjmC1n3TJkbHnK++mNmH/UC 5swNASwbTE/3QCWnDl9jbz9TdM55LjAJM65B+m2m90StCoqnItDgxgHpNVSsMb/ChJUKf6BnAIoTS czGzC3+Za/iXtg==; Date: Sat, 01 Mar 2025 15:01:08 +0200 Message-Id: <86bjukq50r.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zfibj9y9.fsf@pub.pink> (message from john muhl on Mon, 24 Feb 2025 15:41:47 -0600) References: <87bjurkowr.fsf@pub.pink> <87zfibj9y9.fsf@pub.pink> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: john muhl > Date: Mon, 24 Feb 2025 15:41:47 -0600 > > > Tags: patch > > > > This removes some entities from treesit-thing-settings that don’t > > make sense to consider as s-expressions (probably leftovers from > > debugging or something) and didn’t have tests. It also adds tests > > for some backward-sexp cases that were missing them. > > > > Should apply cleanly to emacs-30 or master. Thanks, installed on the emacs-30 branch, and closing the bug.