From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61374: 30.0.50; Wrong mark-sexp with tree-sitter Date: Thu, 09 Feb 2023 10:54:06 +0200 Message-ID: <83fsbfmd75.fsf@gnu.org> References: <875ycbitav.fsf.ref@aol.com> <875ycbitav.fsf@aol.com> <835ycbnxyc.fsf@gnu.org> <871qmzb56k.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24225"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61374@debbugs.gnu.org, spacibba@aol.com, casouri@gmail.com To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 09 09:54:20 2023 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 1pQ2h9-00067N-82 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Feb 2023 09:54:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQ2gz-0002PF-JI; Thu, 09 Feb 2023 03:54:09 -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 1pQ2gt-0002Oo-8K for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 03:54:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQ2gt-0008Is-08 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 03:54:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQ2gs-0000Sg-Dy for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 03:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2023 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61374 X-GNU-PR-Package: emacs Original-Received: via spool by 61374-submit@debbugs.gnu.org id=B61374.16759328401765 (code B ref 61374); Thu, 09 Feb 2023 08:54:02 +0000 Original-Received: (at 61374) by debbugs.gnu.org; 9 Feb 2023 08:54:00 +0000 Original-Received: from localhost ([127.0.0.1]:57435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ2gm-0000SL-DI for submit@debbugs.gnu.org; Thu, 09 Feb 2023 03:53:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ2gi-0000S4-8b for 61374@debbugs.gnu.org; Thu, 09 Feb 2023 03:53:55 -0500 Original-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 1pQ2gc-0008GP-Td; Thu, 09 Feb 2023 03:53:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HF9/uxzNA3+1Sh8PzGb3/sLPSP1Pc5Sc3bVEStJeXEc=; b=V8wyJbiP1Op1 Oz9F2PTlJsOEXwZrsAgeuexeG81UblKwutOR3cmBNYOX1dXt6KwfGTVUiqCGqXVc6f4ZV2uxJTQR3 qg1e4f2woCSw4Xdwe38jEmWtClyrF8ue8ctE1j/1Sg5ATM4U1VwBEKh4Ce3WCBW1WfUFutH1lSCdJ rDiaMusDtMyQ3GSrSlfgwxW3phVQxL9IZsqXwBYLjYXdOSLFM7A7zjNF552k7HApmsjjr63DaJd5T Zmo2pemuJTa0/3sDUar95omnFBqZaOHZfeOTEgcMjaE/StpcCIJOyuyKADFLWSUzoo7CPFeX8ZnMW Qz4KZvVNsMPEUJU7DfsvoQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQ2gc-0004VW-DH; Thu, 09 Feb 2023 03:53:46 -0500 In-Reply-To: <871qmzb56k.fsf@thornhill.no> (message from Theodor Thornhill on Thu, 09 Feb 2023 09:42:43 +0100) 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:255197 Archived-At: > From: Theodor Thornhill > Cc: 61374@debbugs.gnu.org > Date: Thu, 09 Feb 2023 09:42:43 +0100 > > I think to remember why I decided on the current settings in > 'treesit-sexp-type-regexp' - compound_statement is very frequently used > in the c/c++ grammars, and iirc that makes sexp-moving almost always > move to end of the next or current compound_statement. Can you show some examples that illustrate these issues? I'm not sure I follow your line of reasoning, and thus cannot understand the relevant considerations and decisions, and their expected effects on behavior. Thanks.