From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Yuan Fu <casouri@gmail.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 08:56:42 -0700
Message-ID: <89E444B6-CD92-4271-9212-887071BF5C34@gmail.com>
References: <165250511905.8189.2709453031201012987@vcs2.savannah.gnu.org>
 <20220514051202.A517CC01682@vcs2.savannah.gnu.org> <871qwwted7.fsf@yahoo.com>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\))
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="27724"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: Po Lu <luangruo@yahoo.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 14 17:58:34 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 1npuA4-0006wW-1Q
	for ged-emacs-devel@m.gmane-mx.org; Sat, 14 May 2022 17:58:32 +0200
Original-Received: from localhost ([::1]:54830 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 1npuA2-0003ee-05
	for ged-emacs-devel@m.gmane-mx.org; Sat, 14 May 2022 11:58:30 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52464)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <casouri@gmail.com>) id 1npu8M-0001nc-Jw
 for emacs-devel@gnu.org; Sat, 14 May 2022 11:56:46 -0400
Original-Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:35595)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <casouri@gmail.com>) id 1npu8L-0004Wh-4f
 for emacs-devel@gnu.org; Sat, 14 May 2022 11:56:46 -0400
Original-Received: by mail-pl1-x630.google.com with SMTP id c9so10665594plh.2
 for <emacs-devel@gnu.org>; Sat, 14 May 2022 08:56:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=8xxG/hf/iUmzOtKCRrp3g3309SgCPvZMuaOjIAUskSQ=;
 b=Z44cHwuVdUiV85Zb6Kb4Z5I1etNmhmdqpnGHmxKJJiE6wsKhzcRwGxrDubT0pu+xEB
 m5qx4btLTppJtSbeXIX3LsA3EtVMQIaksOGjPqETjSJTMe7enIIsTJ5tkUNulg3h0SKP
 +OWrAb56YDp9wDvcj3iZUGNfa3edwxf9hsYFXsv+P+dZinaa80cMf6ids7ET/CpUzVON
 xjxDqAHyPmgdl3fHixGm3BtJdAdU2TO5D/VlWBi7c4tz/xnPPeLH4LvJ/QnNARISTLbw
 Bno8sRO2Doe+Sogn21VJUn/aDLeScEuoFhd5DqOxNv9y7K0SyXnIQzzMq1whDEzSL6TO
 CmTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=8xxG/hf/iUmzOtKCRrp3g3309SgCPvZMuaOjIAUskSQ=;
 b=lsuaAwsR3njKW7tnLTyaQbgep0wqySW+BWssQ5CSjoEVI7zygOxI4TviCAwi7S66aM
 Y636TIMz5uryJuNIvpKB+id+7273sdfle3PEeqA2iWlt17cRPbY45r1iFF2Di2Wlu87k
 tayqlWD4lXoIzuKAlRoIsT7onNeqpcBVJybM+tUxvdygFhkU9xrPRRMm2TkOAHzkUxpH
 nNJV3/T7WXYa/upLP0/t8VYFLx3gRTYde9HG23PVBh9s1z/6aoPYhQYzWNRsLFze9ZVd
 n/kEuw++uN64iNMtuYtq2Bs/XCzPUGnrIdNsAe2sqDqp8Qu9eU6IvWOtXZday7LPcDNw
 8HHQ==
X-Gm-Message-State: AOAM5313erZTu324NcT0+Q6PlJ1fRSKYPWjYXD5j/UGNgwaskiCq/ybX
 7JQsNZFLrYEr4ud0OuwbneI=
X-Google-Smtp-Source: ABdhPJxO8UPEodgRkgwIbEuAhCznn+5HY30kJWhRZHXbMCC+TCtRRsSXL9QNkzF4OQPE6+8P6jnmlg==
X-Received: by 2002:a17:90b:3d90:b0:1df:70c:c65f with SMTP id
 pq16-20020a17090b3d9000b001df070cc65fmr4649456pjb.238.1652543803628; 
 Sat, 14 May 2022 08:56:43 -0700 (PDT)
Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:c48:babf:bfaa:d815])
 by smtp.gmail.com with ESMTPSA id
 r12-20020a170903020c00b0015e8d4eb2cdsm3808368plh.279.2022.05.14.08.56.42
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 14 May 2022 08:56:43 -0700 (PDT)
In-Reply-To: <871qwwted7.fsf@yahoo.com>
X-Mailer: Apple Mail (2.3696.80.82.1.1)
Received-SPF: pass client-ip=2607:f8b0:4864:20::630;
 envelope-from=casouri@gmail.com; helo=mail-pl1-x630.google.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:289780
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/289780>



> On May 14, 2022, at 6:47 AM, Po Lu <luangruo@yahoo.com> wrote:
>=20
> Yuan Fu <casouri@gmail.com> writes:
>=20
>>     ;; TODO: We might want a `treesit-node-decendant-for-pos' in C.
>=20
> Possible typo; did you mean `treesit-node-descendant-for-pos=E2=80=99?

Indeed, thanks. Such diligence!

Yuan