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: Re: Tree-sitter api Date: Sun, 13 Mar 2022 17:23:09 -0700 Message-ID: <565A047E-3B0F-4A81-A9F6-871B578A84A6@gmail.com> References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> <83wnjmiork.fsf@gnu.org> <6D1CD758-2C6F-4843-9739-F2A5D5591648@gmail.com> <67183EAB-5D98-4211-B71B-4618D6266A15@gmail.com> <87ee36xr2h.fsf@yahoo.com> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24384"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?B?VHXhuqVuLUFuaCBOZ3V54buFbg==?= , Theodor Thornhill , =?utf-8?Q?Cl=C3=A9ment_Pit-Claudel?= , Emacs developers , Philipp , Stefan Monnier , Eli Zaretskii , Yoav Marco , Stephen Leake , John Yates To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 01:25:06 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 1nTYWI-00069t-6I for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 01:25:06 +0100 Original-Received: from localhost ([::1]:42798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTYWG-0003mA-Vq for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Mar 2022 20:25:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTYUV-0002Ek-6o for emacs-devel@gnu.org; Sun, 13 Mar 2022 20:23:15 -0400 Original-Received: from [2607:f8b0:4864:20::633] (port=33439 helo=mail-pl1-x633.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTYUT-0002wk-SE; Sun, 13 Mar 2022 20:23:14 -0400 Original-Received: by mail-pl1-x633.google.com with SMTP id t22so925459plo.0; Sun, 13 Mar 2022 17:23:12 -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=h6wRdA6IjnsQDsFEj0W8d8pQsjFGcU9p8iVhfxwWZa4=; b=FCWTLcnKi8P9Qlg8FUD/5z7R/bqeaxHnSEG3qEv7xQdyzFlPrW5l2irbadKXQ+lPiV ldWFbAvcDCHCnmyTN0ZkKs+Vfx2TS3Nta4n6OUaN2r6Zv0sVLh/S6KFvwWSSeQccUxoU WeYekwgaPxyNpLf8fi6rdZS+ee/RFphMySm6728uXwjpYpOA5ZGxuCLkXn9L+BJF+Ra2 o6xNODI2qH9bV/XchqqP9CyFEzArWJJy3oN6iWGm1R/6cgufo1rRMi1BnREoASs0D006 y9tAXI8OUzYv4EqKovInK1NoDI4apLrBRGNGbJxq1DQYNOrK4MfHDC8bL0bPk9PE8CFO kN4g== 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=h6wRdA6IjnsQDsFEj0W8d8pQsjFGcU9p8iVhfxwWZa4=; b=wzSJhk0k53d7AjRvgV3QhAMCSX8FIZ3COrJbiZ4OLVQdbJHt+5Qp2EV7eeScXLN8IQ LCWtlGspcqysVmOxMQrrWd5Juzrn70zxo/MpEjcIC2CjDW6Cq/btMkg1YycNGBxRYpIt SruzEhWJEq9ChV5omkzHv2Kp/UyJ7OXQJPK9++K5zLs0wn2gMqZqB3GYLAvaNe9xFvGz 0ldoxW7DirSLeUymMKpbINnPexPbtYIR+IjzF/w2c66s+z/9Tgx0ofI4QmMXc818aJhA WdKgFb5UwYRCCT4+kuHZI7hCW8hkkZssj6O0msRlquVZwsADy+ZWZCPUp7nAPTLiZA8W uMWA== X-Gm-Message-State: AOAM531mxDQdpIXvlNiZPNhdaFixW5E7/iS0lwpqCq29hheZZuU/r0sb xs417dOkN+8EwW+i7PnkuO8= X-Google-Smtp-Source: ABdhPJzgllgbgZml6C7SlUtyLTnkF1jsjJv1EwsH9VNfWH3EtYOJLe36PZBVh+QC1EeRBZqBVdSY5Q== X-Received: by 2002:a17:90a:da02:b0:1bf:3919:f2a with SMTP id e2-20020a17090ada0200b001bf39190f2amr33393628pjv.208.1647217391596; Sun, 13 Mar 2022 17:23:11 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:5487:8bbc:49b8:a449]) by smtp.gmail.com with ESMTPSA id x9-20020a056a00188900b004f7454e4f53sm18136819pfh.37.2022.03.13.17.23.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Mar 2022 17:23:11 -0700 (PDT) In-Reply-To: <87ee36xr2h.fsf@yahoo.com> X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::633 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=casouri@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:287099 Archived-At: > On Mar 12, 2022, at 11:13 PM, Po Lu wrote: > > Yuan Fu writes: > >> +if test "${with_tree_sitter}" != "no"; then >> + EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.0], > > Is that version number a typo? > > I assume the tree-sitter support depends on the recently introduced > interface for specificing custom malloc functions. > Yes, good catch. The current version is 0.20.6. I think we should use that? Yuan