From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Tree-sitter documentation Date: Mon, 7 Nov 2022 02:13:20 -0800 Message-ID: <48A65188-BBC6-442F-A552-5FEA1416F936@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.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="28986"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 07 11:14:19 2022 Return-path: 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 ) id 1orz90-0007SZ-Nf for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Nov 2022 11:14:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orz8A-0007QY-He; Mon, 07 Nov 2022 05:13:26 -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 1orz89-0007PH-Id for emacs-devel@gnu.org; Mon, 07 Nov 2022 05:13:25 -0500 Original-Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orz87-0008TH-Sm for emacs-devel@gnu.org; Mon, 07 Nov 2022 05:13:25 -0500 Original-Received: by mail-pj1-x1031.google.com with SMTP id m6-20020a17090a5a4600b00212f8dffec9so9863862pji.0 for ; Mon, 07 Nov 2022 02:13:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=t6OcHivO+jJY37Pp7+n2FFfLKHAXKhZx4BRDvyA9ZTo=; b=gTZBz/hcMrqMf3+rVZrzHT6+DgDJ8Cs4vY8Kbhael3kgnooRZeactq1uWkGczyVh/6 HgCxzJjG6XTpdzSDdc5B/Hsnfa76d3Qayk0e5K/xE56St2E7EGiqSEB27s7N5XKHcyDN +q4RBUYX7D28DKxiMZ281hHbsMXkomcbf7NvCSX9vXVTVrhJUMzB8IW/hJd38CArKU8V 9wASgvyJr8lG5PbUwty4WaRX6JDd/wI6vwSyITzsfYZa4HFJyo3KpC0lFz6SsgzK8F9R En/tjo53fPoPMMZH9reHweqkxCbxlBukRC6CaluF4KWqBAm9OmojV3RsAoFt5yeC4vo6 s18A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t6OcHivO+jJY37Pp7+n2FFfLKHAXKhZx4BRDvyA9ZTo=; b=nU0+GzB84CQqA6ccCAE3j9XrSNf8sc+lYgc6u2VtId1SVaEPng55wUwmHTNeSC51SG j/Z8SfZKEGl+xhl2k+Fa9as6dZzsouC+0xGYX/Q29FQ4Nxr5EuxhlbxObfCspN9/gnbI WHcq+yAYvQqrEEAW7PrLCnbvdO92o7wNi4HDGdhsOMerHljA7qI2YPy89iCLWF7Ea7m4 RbwpZbMxcXqie1KDE0zh1L+418jtdNLUtRKHC21cOj/DMLsXBrBTUs5lNFcSZKpO/1hX 6PPE4FLqT6CuCSPCAFPSYFfMutceGauWvQ/Y5e3v8epbBgqgxbcX6y7z6fzg0fObVS/Y C4rQ== X-Gm-Message-State: ACrzQf28pcdXtP46PYP/TEod9iMLJ17HhtvuLKNRfdLdb09dfLSIE0GD SPhj3GthMdcdsPYMWGpxIBI7BlKR64E= X-Google-Smtp-Source: AMsMyM58NgM5oakTYV8KOQcjm4hG94wqTQk0KoCrtT/NOArdeVcGCVhQhgm+F1kFNvr/XSk6xblD8A== X-Received: by 2002:a17:903:260a:b0:186:9b23:a112 with SMTP id jd10-20020a170903260a00b001869b23a112mr805869plb.15.1667816002268; Mon, 07 Nov 2022 02:13:22 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id o3-20020a170902d4c300b00186b55e3cd6sm4663454plg.133.2022.11.07.02.13.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2022 02:13:22 -0800 (PST) X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=casouri@gmail.com; helo=mail-pj1-x1031.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 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299287 Archived-At: > This function takes a series of @var{query-spec}s, which are triplets > @w{@code{@var{:keyword} @var{value} @dots{} @var{query}}}. Each > @var{query} is a tree-sitter query in either the string, s-expression > or compiled form. >=20 Is is ok to use =E2=80=9Ctriplets=E2=80=9D here? Because there can be = more than one pair of :keyword and values before a query, eg, :keyword value :keyword value query Yuan=