From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Danny Freeman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60127: treesit-end-of-defun: possible bug with clojure grammar Date: Sat, 17 Dec 2022 09:07:40 -0500 Message-ID: <87k02q5dea.fsf@dfreeman.email> References: <42357D6B-C983-4B1F-8857-8C990E848750@gmail.com> Reply-To: Danny Freeman Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29599"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60127@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 17 15:12:17 2022 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 1p6XvE-0007XV-In for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Dec 2022 15:12:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Xv3-00061z-4C; Sat, 17 Dec 2022 09:12: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 1p6Xv0-00061P-QP for bug-gnu-emacs@gnu.org; Sat, 17 Dec 2022 09:12:03 -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 1p6Xv0-0000dh-II for bug-gnu-emacs@gnu.org; Sat, 17 Dec 2022 09:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6Xuz-0001MG-Ua for bug-gnu-emacs@gnu.org; Sat, 17 Dec 2022 09:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Danny Freeman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Dec 2022 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60127 X-GNU-PR-Package: emacs Original-Received: via spool by 60127-submit@debbugs.gnu.org id=B60127.16712862635202 (code B ref 60127); Sat, 17 Dec 2022 14:12:01 +0000 Original-Received: (at 60127) by debbugs.gnu.org; 17 Dec 2022 14:11:03 +0000 Original-Received: from localhost ([127.0.0.1]:56126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Xu3-0001Lq-CM for submit@debbugs.gnu.org; Sat, 17 Dec 2022 09:11:03 -0500 Original-Received: from out2.migadu.com ([188.165.223.204]:21266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Xu0-0001LT-8e for 60127@debbugs.gnu.org; Sat, 17 Dec 2022 09:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dfreeman.email; s=key1; t=1671286256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RjP6iqBNwnDfkkxBXpT6a5fA0osqMav1x+9edPerLp4=; b=TM1wJg82Mn8Wd5LHJMoq1dM1WEaXBM2aSbZwLBYvPEhQsU4/7PnfS9El0E0J2/SpVudAGQ 8hdaPa9wXnXnvFsVX8fo965V7HMwPNvHih6hhLt/kA8CgUvQNWOqOhsy+potcQMil4KQfk 7KriaZ7I81DQtqdQTg3eg2j6fhALUmE= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <42357D6B-C983-4B1F-8857-8C990E848750@gmail.com> X-Migadu-Flow: FLOW_OUT 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:251281 Archived-At: Yuan Fu writes: > Thank you very much for this detailed report! This seems to be some > problem with either tree-sitter or tree-sitter-clojure, where > treesit-node-first-child-for-pos gives wrong result. We=E2=80=99ve had si= milar > problem with bash before[1]. > > At this point there aren=E2=80=99t much we can do in Emacs. If I find som= e time > I=E2=80=99ll make a reproduce recipe and submit an issue on tree-sitter-c= lojure. > > [1] https://github.com/tree-sitter/tree-sitter-bash/issues/139 > > Yuan This bash issue will be really helpful, thanks for sharing. I've been doing work on tree-sitter-clojure, so I can start digging over there. You don't need to worry about writing up a recipe unless you really want to. (I will just test with Emacs since I do not know C very well). --=20 Danny Freeman