From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Tree-sitter doc question
Date: Sat, 10 Dec 2022 12:14:00 +0100 [thread overview]
Message-ID: <CAO48Bk9O4eNkd+9a7NW8tAuatoSZEj_PS83VrmBK4Fz9Znx8+g@mail.gmail.com> (raw)
In-Reply-To: <83h6y3y7bj.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]
Eli writes:
> The above is not different from any other optional library, such as
> GnuTLS or librsvg. The exact commands to install them depend on the
> distro you are using, and we don't describe them in our documentation.
Thanks for the clarification. I was misled by finding some tree-sitter
related files
in the admin/ directory tree. As far as I see, tree-sitter is not very
widely provided (as
opposed to GnuTLS or librsvg...)
I'm on Ubuntu 20.04 LTS and have little time to face a migration to 22.04
and I haven't
found anyone providing a PPA to install tree-sitter on my system. Same
might also
be true for many Debian users...
Well... it will have to wait until the summer (if and when I have spare
cycles to upgrade the system).
Anyhow, there are plenty of things to look inside Emacs on my practically
non-existing free cycles now.
:-)
Thanks again,
WR,/PA
On Sat, 10 Dec 2022 at 09:46, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> > Date: Sat, 10 Dec 2022 08:29:08 +0100
> > Cc: emacs-devel@gnu.org
> >
> > To start testing tree-sitter, do I "just" need to include
> --enable-tree-sitter in my configure step or do I need
> > something (more|else) on a
> > clean-slate (Linux|macOS) system? Does the emacs build process provide
> all the necessary steps or is
> > some external configuration/installation
> > needed?
>
> You need to make sure the tree-sitter library is installed, and so are
> the grammar libraries for the programming languages you want to use.
> Then just rebuild Emacs; --enable-tree-sitter is ON by default, so if
> you have the library installed, the build process with DTRT.
>
> > This is the kind of "extra documentation" some of us are yearning for ;-)
>
> The above is not different from any other optional library, such as
> GnuTLS or librsvg. The exact commands to install them depend on the
> distro you are using, and we don't describe them in our documentation.
>
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
[-- Attachment #2: Type: text/html, Size: 3198 bytes --]
next prev parent reply other threads:[~2022-12-10 11:14 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-09 8:33 Re: Tree-sitter doc question Pedro Andres Aranda Gutierrez
2022-12-09 12:10 ` Eli Zaretskii
2022-12-10 7:29 ` Pedro Andres Aranda Gutierrez
2022-12-10 8:46 ` Eli Zaretskii
2022-12-10 11:14 ` Pedro Andres Aranda Gutierrez [this message]
2022-12-10 15:29 ` João Paulo Labegalini de Carvalho
2022-12-11 8:31 ` Pedro Andres Aranda Gutierrez
2022-12-11 22:03 ` Yuan Fu
2022-12-12 8:57 ` Pedro Andres Aranda Gutierrez
2022-12-12 16:36 ` Eric S Fraga
2022-12-12 17:59 ` Stefan Monnier
2022-12-12 18:11 ` Eli Zaretskii
2022-12-12 18:20 ` Stefan Monnier
2022-12-12 18:32 ` Óscar Fuentes
2022-12-12 18:52 ` Juanma Barranquero
2022-12-12 19:20 ` Óscar Fuentes
2022-12-12 19:37 ` Eli Zaretskii
2022-12-12 22:50 ` Tim Cross
2022-12-12 23:34 ` João Paulo Labegalini de Carvalho
2022-12-13 3:25 ` Tim Cross
2022-12-12 19:19 ` Fraga, Eric
[not found] <20221208141247.36l2j3bxggslsykl.ref@Ergus>
2022-12-08 14:12 ` Ergus
2022-12-08 14:38 ` Eli Zaretskii
[not found] ` <20221208145246.3iq7ehnxdii5xgqq@Ergus>
2022-12-08 14:57 ` Eli Zaretskii
2022-12-08 15:08 ` Felix
2022-12-08 15:44 ` Eli Zaretskii
2022-12-08 16:05 ` Stefan Kangas
2022-12-08 16:24 ` Juanma Barranquero
2022-12-08 16:29 ` Felix
2022-12-08 17:39 ` Eli Zaretskii
2022-12-08 17:35 ` Eli Zaretskii
2022-12-08 17:43 ` Stefan Monnier
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=CAO48Bk9O4eNkd+9a7NW8tAuatoSZEj_PS83VrmBK4Fz9Znx8+g@mail.gmail.com \
--to=paaguti@gmail.com \
--cc=eliz@gnu.org \
--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).