From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov 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: Sun, 05 Jan 2025 20:10:41 +0200 Organization: LINKOV.NET Message-ID: <87ldvpnnby.fsf@mail.linkov.net> References: <87plox4mtp.fsf@masteringemacs.org> <87frpm20t7.fsf@masteringemacs.org> <8634lmbs8t.fsf@gnu.org> <87bk0a1u0o.fsf@masteringemacs.org> <86tte2a5o3.fsf@gnu.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26490"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Theodor Thornhill , Yuan Fu , Mickey Petersen , Eli Zaretskii , 73404@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 19:25:26 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 1tUVJV-0006kP-Q5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 19:25:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUVJB-0004ZV-If; Sun, 05 Jan 2025 13:25:05 -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 1tUVJ9-0004YA-St for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 13:25: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 1tUVJ9-00056Z-JW for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 13:25:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=mFkM/cgGY15xJn03j7ZcNpM1666aqbtaapylWPRnqQc=; b=dznI80RV+qq2gSs8gl25eaoHLKEwSMpe8YF1AHnolF4CXzaDU6vJnFJK+bVA0WuFyDqkwx6oq7TBvLYDsu3Bss6+gn/wk/2wdHHnaXsxOw/q9pdAbHQD8cxHZocHmy55v8uy8bM6chuO8j2PzK5RD5JXjkQbCioFdpWVSEtgqI4/U3bhHU85IZt3IpOFY/0X4XHOiJqEtlFV7ry2OV5GaqBK8XGmO2nyk8iS52NX9ZxMsL+SDV6cLcqgbEoeHamDzY9eakQjYlz4K0M/fiuBgbWSU5SPDdJiqvkpZ0DuxNNxPhQhVcSpykiQUvomipZDWS5nrmzDJhutdgU+I8FnLA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUVJ9-0001Td-An for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 13:25:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 18:25:03 +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.17361014955639 (code B ref 73404); Sun, 05 Jan 2025 18:25:03 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 5 Jan 2025 18:24:55 +0000 Original-Received: from localhost ([127.0.0.1]:35159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUVJ0-0001St-Vy for submit@debbugs.gnu.org; Sun, 05 Jan 2025 13:24:55 -0500 Original-Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]:39179) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUVIz-0001SO-4u for 73404@debbugs.gnu.org; Sun, 05 Jan 2025 13:24:53 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 89AE8FF802; Sun, 5 Jan 2025 18:24:42 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Sun, 05 Jan 2025 09:40:56 -0500") X-GND-Sasl: juri@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:298587 Archived-At: >> I admit that hard-coding one symbol is not the right thing to do. >> So here is a better patch that checks for the symbol property: > > That's better but I still wonder why we don't want to use a keyword. The downside of a keyword is that changing the syntax will require updating all existing settings of treesit-thing-settings. But if Yuan agrees to this change, this would be fine.