From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Po Lu <luangruo@yahoo.com>
Newsgroups: gmane.emacs.devel
Subject: Re: feature/tree-sitter 750090fd07 4/5: * lisp/treesit.el
 (treesit-node-at): Add check for nil node.
Date: Sat, 14 May 2022 21:47:48 +0800
Message-ID: <871qwwted7.fsf@yahoo.com>
References: <165250511905.8189.2709453031201012987@vcs2.savannah.gnu.org>
 <20220514051202.A517CC01682@vcs2.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="728"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
Cc: Yuan Fu <casouri@gmail.com>
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 14 15:48:42 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1nps8P-000AdE-Pv
	for ged-emacs-devel@m.gmane-mx.org; Sat, 14 May 2022 15:48:41 +0200
Original-Received: from localhost ([::1]:48350 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1nps8O-00045S-FY
	for ged-emacs-devel@m.gmane-mx.org; Sat, 14 May 2022 09:48:40 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59146)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1nps7p-0003Nn-C4
 for emacs-devel@gnu.org; Sat, 14 May 2022 09:48:05 -0400
Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]:45111)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1nps7n-00022V-L4
 for emacs-devel@gnu.org; Sat, 14 May 2022 09:48:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1652536081; bh=F3ySY1ksNsgA282h7iVkVJQXRx7i3wEG8Aihvi/hIlg=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=L97uJw+WNZC5Ihibz92MsJ5nQ6QJ7nQbjwloWyiRmcoN/rvxopOak2Lk9UquwpNE825OXMuqYcmWOx6bTJhGUEVEpzi8hooS3P2PfojiEei2VUxCCIrrdyFs4mpEomxKA5VSH9fn84p4JGvi7Fi1UUUOwuU3eYgesABl351gl8K1g3OkwDHAhjn37HBT5BSGN4FjqjCMabIMvFkfHXfxdNMeXEuZpgTHjNEtF/O9efBX7ZQS9svMD/1wjWs+EshqO/rdlCiyvF7Wdeps0OdGJ55oYZ/c5+0AXK+2mjSsjZJr60FkW7CcIkBIOorTib5xjHnUtdbnQy5dD/4eFtgbUg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1652536081; bh=UiL0VBObGLKbHpDY2joeTWOpE33CVmbyOZ3B+zLTl8s=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=SDN6yucWb4maTrPibK//Hnfa9VIkwSeFkcvhiOtNh+zyD9cPBqUzqgdaBKwWXgPtn2YDHzZI+9i76PD5AflMKm62uBJX4sA2EMQrweaT/EGh/aL4JBcnm/IU3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tNFJs4DkG4MFWiC
 PrQQMM8L5ZocCOjVtskRqkAAKpqC5pPC.1GYQHAjT3 
X-Sonic-MF: <luangruo@yahoo.com>
Original-Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sat, 14 May 2022 13:48:01 +0000
Original-Received: by hermes--canary-production-sg3-856bf69955-ckh9c (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 1b3a7cdd68f638f099a906e5664885f6; 
 Sat, 14 May 2022 13:47:55 +0000 (UTC)
In-Reply-To: <20220514051202.A517CC01682@vcs2.savannah.gnu.org> (Yuan Fu's
 message of "Sat, 14 May 2022 01:12:02 -0400 (EDT)")
X-Mailer: WebService/1.1.20188
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Received-SPF: pass client-ip=66.163.191.204; envelope-from=luangruo@yahoo.com;
 helo=sonic312-23.consmr.mail.ne1.yahoo.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:289774
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/289774>

Yuan Fu <casouri@gmail.com> writes:

>      ;; TODO: We might want a `treesit-node-decendant-for-pos' in C.

Possible typo; did you mean `treesit-node-descendant-for-pos'?