all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: tree-sitter and language support
Date: Thu, 24 Nov 2022 22:51:51 -0800	[thread overview]
Message-ID: <6C4C266A-BC65-4486-80D1-1337A07CD6CF@gmail.com> (raw)
In-Reply-To: <p918rjz390i.fsf@google.com>



> On Nov 24, 2022, at 9:20 PM, T.V Raman <raman@google.com> wrote:
> 
> I installed from elpa/melpa:
> 
> ls -1 -d tree-sitter-*
> tree-sitter-20220212.1632/
> tree-sitter-langs-20221122.645/
> 21:18:06 elpa $ 
> 
> but emacs compiled from latest Git Head still produces the completely
> unhelpful message 
> tree-support for language <x> is unavailable if I invoke c-ts-mode or
> c++-ts-mode
> 
> A note in the News file detailing what bits one needs to install might
> be the shoes we need to help us walk the final mile on this long road
> to tree-sitter integration.

We are just starting to work on tree-sitter’s user-facing documentation, including the (emacs) manual and NEWS file. I’ll definitely improve the error message. In the meantime, find files that looks like libtree-sitter-xxx.so and put them under ~/.emacs.d/tree-sitter (or a standard library location like /usr/local/lib), and Emacs should be able to find them.

Yuan


  reply	other threads:[~2022-11-25  6:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25  5:20 tree-sitter and language support T.V Raman
2022-11-25  6:51 ` Yuan Fu [this message]
2022-11-25 10:41   ` Roman Rudakov
2022-11-25 12:05     ` Eli Zaretskii
2022-11-25 17:57   ` T.V Raman
2022-11-25 19:48     ` Eli Zaretskii
2022-11-25 12:28 ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=6C4C266A-BC65-4486-80D1-1337A07CD6CF@gmail.com \
    --to=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.