unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "T.V Raman" <raman@google.com>
To: Yuan Fu <casouri@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: tree-sitter version?
Date: Wed, 23 Nov 2022 20:57:13 -0800	[thread overview]
Message-ID: <p91a64h7xw6.fsf@google.com> (raw)
In-Reply-To: <F0A356EB-7900-4CD2-A95B-78DB4ADA7C8B@gmail.com> (Yuan Fu's message of "Wed, 23 Nov 2022 19:27:44 -0800")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 1575 bytes --]

Yuan Fu <casouri@gmail.com> 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 <raman@google.com> wrote:
>> 
>> While building emacs from Github @HEAD, I noticed that configure
>> checks for two different tree-sitter versions 
>> checking for tree-sitter >= 0.20.2... no
>> checking for tree-sitter >= 0.6.3... yes
>> 
>> 
>> Installing from apt-get on Debian, and later cloning and building
>> tree-sitter from github both give 0.6.3
>> 
>> 
>> 
>> So what is 0.20 --asking only because 20 much-greater-than 6¡ª
>
> The official latest version of tree-sitter right now is 0.20.7, the
> one we want is >=0.20.2 (which has the ability to change malloc
> implementation on runtime). However apprantly tree-sitter¡¯s makefile
> wasn¡¯t updated after 0.6.3 so the version number on the installed
> library is 0.6.3. Ideally we want to require >=0.20.2 and be done with
> it, but since most tree-sitter libraries installed on people¡¯s
> 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
>
>

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
7©4 Id: kg:/m/0285kf1  •0Ü8



  reply	other threads:[~2022-11-24  4:57 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24  1:54 tree-sitter version? T.V Raman
2022-11-24  3:27 ` Yuan Fu
2022-11-24  4:57   ` T.V Raman [this message]
2022-11-24  5:02     ` Yuan Fu
2022-11-24  5:54       ` Tassilo Horn
2022-11-25  9:43         ` Yuan Fu
2022-11-25 11:52           ` Eli Zaretskii
2022-11-25 15:08           ` T.V Raman
2022-11-25 16:25             ` Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?) Daniel Martín
2022-11-25 16:33               ` Eli Zaretskii
2022-11-25 16:38               ` Theodor Thornhill
2022-11-25 17:50                 ` Elliott Shugerman
2022-11-25 23:41                   ` Rudolf Adamkovič
2022-11-25 19:40                 ` Eli Zaretskii
2022-11-25 19:58                   ` Theodor Thornhill
2022-11-25 20:13                     ` Theodor Thornhill via Emacs development discussions.
2022-11-26  1:04                       ` Stefan Kangas
2022-11-26  6:45                         ` Theodor Thornhill
2022-11-26  8:20               ` Yuan Fu
2022-11-26  8:22                 ` Theodor Thornhill
2022-11-26  8:31                 ` Eli Zaretskii
2022-11-26  9:06                   ` Theodor Thornhill
2022-11-28 21:36             ` tree-sitter version? Richard Stallman
2022-11-29  3:28               ` Eli Zaretskii
2022-12-04 23:13                 ` Richard Stallman
2022-12-05  3:27                   ` Eli Zaretskii
2022-12-06 22:35                     ` Richard Stallman
2022-12-07  3:31                       ` Eli Zaretskii
2022-11-25 15:06         ` T.V Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p91a64h7xw6.fsf@google.com \
    --to=raman@google.com \
    --cc=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).