all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: tree-sitter and language support
Date: Fri, 25 Nov 2022 14:28:24 +0200	[thread overview]
Message-ID: <83cz9busk7.fsf@gnu.org> (raw)
In-Reply-To: <p918rjz390i.fsf@google.com> (raman@google.com)

> Date: Thu, 24 Nov 2022 21:20:29 -0800
> From: "T.V Raman" <raman@google.com>
> 
> 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

The tree-sitter-20220212 package is an external Emacs module, so it is
incompatible with the tree-sitter enabled modes you see on the master
branch.  Instead, you should simply install the tree-sitter library using
whatever distro you use to update your system.  Or build the tree-sitter
library yourself, from its Git repository, and then install it.

And the tree-sitter-langs-20221122 package requires you to run procedures to
download, compile, and install the language support libraries.  Did you run
those procedures?  If not, you won't have the language support libraries
where Emacs looks for them.



      parent reply	other threads:[~2022-11-25 12:28 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
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 [this message]

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=83cz9busk7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.