From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: tree-sitter version? Date: Wed, 23 Nov 2022 20:57:13 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 24 05:57:45 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 1oy4Iz-00078p-4y for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Nov 2022 05:57:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy4Ia-0007Sa-1y; Wed, 23 Nov 2022 23:57:20 -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 1oy4IY-0007SC-CI for emacs-devel@gnu.org; Wed, 23 Nov 2022 23:57:18 -0500 Original-Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy4IW-0004R8-OA for emacs-devel@gnu.org; Wed, 23 Nov 2022 23:57:18 -0500 Original-Received: by mail-pj1-x102e.google.com with SMTP id q96-20020a17090a1b6900b00218b8f9035cso608477pjq.5 for ; Wed, 23 Nov 2022 20:57:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6SKpjUkhVsy0NONASzNjGLLxO4LW6FuJuRFKl0l1ELk=; b=AZZs7Beygq+SUOAlz/vmiGBDY6PCpGfOShyzQFu8d0k6DAS8x8+nuO5zbliDhzXp7g bJiqBlJ6pPV1eMJenhIj60a5yptxc2jmVzGKKnmjpZlcwVTU4hdHRI7hicrPvzUcotCv ftiSjFXqkmylc6Vezw9IkWXDiUA6JKg9Hs1Im9NBRDs8I8wNnb7W58aAyFgg8mD6H4No rvqKJbmzZY3VhQPQvowXk2yu0XXM+uQh8SAWcUqnWnuc2GWZiAsU7GQk0z/0wIK3qdpf Py/dHOW7VfpGVdt1DBzFqhVQi1viu44APt/aciFOjdxvxKOzZZEsguwgtlmhLeUidqdU 7HMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6SKpjUkhVsy0NONASzNjGLLxO4LW6FuJuRFKl0l1ELk=; b=0LdjzQDo9x+sXc69gpjkkBsNRtPyj1bdNTRfaZUBFAJBLExJzZ9cl7tpSvluvOe1mt jYHjLingRclXdE1fKvtsq8NVwJWuxia07il60WwrF0E2WWG0pqr1Q+Rso34NNRDqjVyp /EOfeULD8P9iWrgbDM0fR7BiqDoWw0l6Km8KWGTm5usawTwUClnEeTuqUz81TtGoIsAc zPztoedbWmpPc4z97QsqhIQETI98Rzt2vifAv4svTve2e+FX7GFbvAw7JM7qR7Gta/IZ +H8EpwPeSA67qdaBGj1v0uvCr37nGfgiGKrMumSwsrVEE2CmkR6GRPYs94PeCn8+dedR DhWg== X-Gm-Message-State: ANoB5pmG7w2Vc3aSP56DhlylFNdTsMSL3LVSDseNCzXlFIr4Yf74B+g0 ZEA5UP/iHdyqhJdPFxlYfcK3Bvf29NDoyHx8 X-Google-Smtp-Source: AA0mqf4+HmPSGpvbZ8SSImeutCwsF/Uzh6IFi/5x0KQrE+d7gvNlQPheFIJtRAAV7Egy/iM8/8ekYg== X-Received: by 2002:a17:90a:6906:b0:20d:5587:805b with SMTP id r6-20020a17090a690600b0020d5587805bmr34128690pjj.190.1669265834761; Wed, 23 Nov 2022 20:57:14 -0800 (PST) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id o17-20020a170902d4d100b00189548573a2sm93437plg.161.2022.11.23.20.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 20:57:13 -0800 (PST) In-Reply-To: (Yuan Fu's message of "Wed, 23 Nov 2022 19:27:44 -0800") Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=raman@google.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:300422 Archived-At: Yuan Fu writes: Confusing times ahead! So: am I supposed to install tree-sitter from github or from debian's package manager? I first did the package-manager version, then pulled from github and installed that -- configure shows that tree-sitter is detected -- but calling any of the tree-sitter modes, eg c-ts-mode barfs with an error saying that support is not available. >> On Nov 23, 2022, at 5:54 PM, T.V Raman wrote: >>=20 >> While building emacs from Github @HEAD, I noticed that configure >> checks for two different tree-sitter versions=20 >> checking for tree-sitter >=3D 0.20.2... no >> checking for tree-sitter >=3D 0.6.3... yes >>=20 >>=20 >> Installing from apt-get on Debian, and later cloning and building >> tree-sitter from github both give 0.6.3 >>=20 >>=20 >>=20 >> So what is 0.20 --asking only because 20 much-greater-than 6=A1=AA > > The official latest version of tree-sitter right now is 0.20.7, the > one we want is >=3D0.20.2 (which has the ability to change malloc > implementation on runtime). However apprantly tree-sitter=A1=AFs makefile > wasn=A1=AFt updated after 0.6.3 so the version number on the installed > library is 0.6.3. Ideally we want to require >=3D0.20.2 and be done with > it, but since most tree-sitter libraries installed on people=A1=AFs > machines are 0.6.3, we also accept 0.6.3 and use autotool magic to > check for the ability to change malloc implementation. > > Yuan > > --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8