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#73404: 30.0.50; [forward/kill/etc]-sexp commands do not behave as expected in tree-sitter modes Date: Thu, 9 Jan 2025 20:39:35 +0200 Message-ID: <5aed86a5-9e54-4e63-a568-cbbad577e39b@gutov.dev> References: <87plox4mtp.fsf@masteringemacs.org> <877cay1lqt.fsf@masteringemacs.org> <86frpma06f.fsf@gnu.org> <86ikueiekp.fsf@mail.linkov.net> <86ed4zg1cc.fsf@mail.linkov.net> <87zflac68t.fsf@mail.linkov.net> <87jzcdlxdp.fsf@mail.linkov.net> <87o71jocgs.fsf@mail.linkov.net> <87wmfwqg7e.fsf@mail.linkov.net> <8734i5fyv1.fsf@mail.linkov.net> <875xmumpzv.fsf@mail.linkov.net> <87pll190ui.fsf@mail.linkov.net> <674226FE-597C-44DC-823A-667E5C55397A@gmail.com> <87ldvmik3o.fsf@mail.linkov.net> <87plkwwigx.fsf@mail.linkov.net> 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="8655"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Mickey Petersen , Eli Zaretskii , Theodor Thornhill , Stefan Monnier , 73404@debbugs.gnu.org To: Juri Linkov , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 19:40:12 2025 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 1tVxRz-00023i-RN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 19:40:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVxRs-0007AB-SI; Thu, 09 Jan 2025 13:40:04 -0500 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 1tVxRr-0007A1-3f for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 13:40:03 -0500 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 1tVxRq-0004Kh-Ow for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 13:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=FidFFS8yMttkfIOu/tl/wOIWAlIxhHo0ZFkgBmqDozU=; b=bWIXDsNOB84wZ+aDvoWZtE3xjOB4/9ikmwve5WFOOPFhR9Ei06M5krcw3jL1U+FKrf84iIqODIYQbKucymOrGdgw3YKu+QOLA1YMpXBAfusCk6MJsZK3qe2A+Sp7aCYtksj2LcEXaYkHImPwuUGu9r93XDlznfqSiM7en+iYQzUQyVEHXgDqbEBBCMASdS/+zTLYsPaiDBSv1FCIhdxG9IeLjyDR2D4o7GzOWMKBP1zwCQnq/0yzfLdWknNAO2LklqfauuAfV2093n89GgV90Y5PNdPWfrUfw61RYq1OcxM6FjNGIcL1HHhRsZpYn0Hl3wnr2Ao58rOilqsV487iDQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVxRq-0006zw-Jy for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 13:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2025 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73404 X-GNU-PR-Package: emacs Original-Received: via spool by 73404-submit@debbugs.gnu.org id=B73404.173644798926874 (code B ref 73404); Thu, 09 Jan 2025 18:40:02 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 9 Jan 2025 18:39:49 +0000 Original-Received: from localhost ([127.0.0.1]:54228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVxRd-0006zO-FV for submit@debbugs.gnu.org; Thu, 09 Jan 2025 13:39:49 -0500 Original-Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]:34103) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVxRb-0006z8-FS for 73404@debbugs.gnu.org; Thu, 09 Jan 2025 13:39:47 -0500 Original-Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id E23491140172; Thu, 9 Jan 2025 13:39:41 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Thu, 09 Jan 2025 13:39:42 -0500 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=fm1; t=1736447981; x=1736534381; bh=FidFFS8yMttkfIOu/tl/wOIWAlIxhHo0ZFkgBmqDozU=; b= 3qLCI0+yPQ8WCDnBBhlFrADjnPk9FQlcTgI6Kj/dDVsSNTpMitVFqcKOi/cd2u+C gZ7M2Xs700s40XhtETSjciF8RgqdPsRQeRY6TTnX+SwsFWaszhZKfgiW3///wx6u oe+wPdjuvCKn6xGbrWMDAeFM6tnSZAIaCGr1l9NMdFmbCD51sCEOsL61/53D8ULi KXUbHY8zttWFl9jd2IzL4pXUrmQJ1P/sbypXziqtb31GKDNuvTOgh2EZqOj+99ZG XZngaXG2treySygQh41rdfio6Q4KrMG0ZU5WAIYNxN55t8YtpjSld+FiCGdccXVc 9ssiUQy/PpoN25Ex9PI+Fw== 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-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736447981; x= 1736534381; bh=FidFFS8yMttkfIOu/tl/wOIWAlIxhHo0ZFkgBmqDozU=; b=l rZLFJcVOrs3eFBPOP9wuzKVDIbGH3UCdLVg3RIEsXGht22fozRItZJikeEOCfxzB 1P4hvUxRc1xJK2jqguGr6aSNVwonBFNgQRxv9T6TpzcI3iAJlPhS8EKz6qtu0o0j T2vdqiZoNM5jT/83gHipoN7GqvLmCnSJGhVNDqtAxXUTan86fk4KKGq0f5jW9ZMd RZbYJNj6JwQRksap1eGJXlGwvSgweVIDqItpU3UvN6Cx6j9F0585wXXMZA8WjMqU oXN1uvcStBy0/0yHtJL8HkM6pvveBmKpkCFgY/lGx0c1/0YrrKEyv/Fnbyhrnd8i 3PCmDcbSm7P75ehun6X6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegiedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht ohepjedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhurhhisehlihhnkhhovh drnhgvthdprhgtphhtthhopegtrghsohhurhhisehgmhgrihhlrdgtohhmpdhrtghpthht ohepthhhvghosehthhhorhhnhhhilhhlrdhnohdprhgtphhtthhopegvlhhiiiesghhnuh drohhrghdprhgtphhtthhopehmihgtkhgvhiesmhgrshhtvghrihhnghgvmhgrtghsrdho rhhgpdhrtghpthhtoh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Jan 2025 13:39:38 -0500 (EST) Content-Language: en-US In-Reply-To: <87plkwwigx.fsf@mail.linkov.net> 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:298850 Archived-At: On 09/01/2025 09:42, Juri Linkov wrote: >> Juri, please feel free to apply your symbol property patch. For the symbol >> property name, I feel that something like >> treesit-symbol-predicate/treesit-use-as-symbol-predicate would be more >> descriptive. > If we settle on the variant that keeps the current format with symbols, > wouldn't it better to keep a symbol property name shorter? > > First I proposed 'treesit-predicate', but then realized it's wrong > since it's opposite to the predicate function. > 'treesit-thing' was better since it indicates that it's used in > 'treesit-thing-settings'. Is it too late to keep the current name, 'sexp-list'? It it of course somewhat redundant, but not by much, and not needing an extra indirection is a plus on its own. Just my 2c.