From: Dmitry Gutov <dgutov@yandex.ru>
To: Alan Mackenzie <acm@muc.de>, Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Difficulty building tree-sitter grammars [was: Help sought from C++ expert: ....]
Date: Thu, 19 Jan 2023 19:53:03 +0200 [thread overview]
Message-ID: <2d26794b-95c5-c697-66e6-ed0aa7a1df7e@yandex.ru> (raw)
In-Reply-To: <Y8l6g+dMTITvIUpy@ACM>
Hi Alan,
On 19/01/2023 19:14, Alan Mackenzie wrote:
> I suggest that these instructions in NEWS should be enhanced with (i)
> Tips on downloading stuff from github; (ii) A sample command line for
> compiling the C/C++ source files; (iii) A sample command line for
> linking these to the needed .so file. Possibly two or three versions of
> these would be needed for the different environments Emacs runs in.
Not to detract from your feedback on the documentation, but 'M-x
treesit-install-language-grammar' even without existing presets these,
turned out to be very helpful in my experience.
E.g., for c++ I choose 'cpp', answer yes to building manually, paste the
github repository url when asked, press RET several times, and voila.
next prev parent reply other threads:[~2023-01-19 17:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 14:53 Help sought from C++ expert: is this `value' a type or something else (what)? Alan Mackenzie
2023-01-19 14:59 ` Eli Zaretskii
2023-01-19 17:14 ` Difficulty building tree-sitter grammars [was: Help sought from C++ expert: ....] Alan Mackenzie
2023-01-19 17:53 ` Dmitry Gutov [this message]
2023-01-19 18:06 ` Eli Zaretskii
2023-01-19 18:16 ` Dmitry Gutov
2023-01-19 17:53 ` Eli Zaretskii
2023-01-19 20:56 ` Alan Mackenzie
2023-01-20 6:44 ` Eli Zaretskii
2023-01-19 15:41 ` Help sought from C++ expert: is this `value' a type or something else (what)? Michael Welsh Duggan
2023-01-21 14:34 ` Alan Mackenzie
2023-01-19 16:22 ` Óscar Fuentes
2023-01-21 14:59 ` Alan Mackenzie
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=2d26794b-95c5-c697-66e6-ed0aa7a1df7e@yandex.ru \
--to=dgutov@yandex.ru \
--cc=acm@muc.de \
--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 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.