From: Eli Zaretskii <eliz@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: 64917@debbugs.gnu.org
Subject: bug#64917: 30.0.50; c-ts-mode throws warnings about missing cpp support
Date: Fri, 28 Jul 2023 15:11:33 +0300 [thread overview]
Message-ID: <83edksjkwa.fsf@gnu.org> (raw)
In-Reply-To: <87zg3gxus8.fsf@gmail.com> (message from Robert Pluim on Fri, 28 Jul 2023 11:14:15 +0200)
tags 64917 notabug
thanks
> From: Robert Pluim <rpluim@gmail.com>
> Date: Fri, 28 Jul 2023 11:14:15 +0200
>
> I built master with tree-sitter support, and installed the c-language
> grammar using M-x treesit-install-language-grammar. I have
> libtree-sitter-c.so in ~/.emacs.d/tree-sitter
>
> I restarted emacs, visited src/xdisp.c, and did M-x c-ts-mode, which
> popped up a *Warnings* buffer containing:
>
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for cpp is unavailable (not-found): (libtree-sitter-cpp libtree-sitter-cpp.0 libtree-sitter-cpp.0.0 libtree-sitter-cpp.so libtree-sitter-cpp.so.0 libtree-sitter-cpp.so.0.0) No such file or directory
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for cpp is unavailable (not-found): (libtree-sitter-cpp libtree-sitter-cpp.0 libtree-sitter-cpp.0.0 libtree-sitter-cpp.so libtree-sitter-cpp.so.0 libtree-sitter-cpp.so.0.0) No such file or directory
>
> which is less than desirable (althoug `major-mode' is c-ts-mode, so I
> guess things worked)
Please install the C++ grammar as well. Those two go together because
some *.h files could be C or C++, and we can only test that at run
time.
next prev parent reply other threads:[~2023-07-28 12:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 9:14 bug#64917: 30.0.50; c-ts-mode throws warnings about missing cpp support Robert Pluim
2023-07-28 12:11 ` Eli Zaretskii [this message]
2023-07-28 13:31 ` Robert Pluim
2023-07-31 1:43 ` Richard Stallman
2023-07-31 2:28 ` Eli Zaretskii
2023-08-03 8:13 ` Eli Zaretskii
2023-08-09 15:27 ` Robert Pluim
2023-07-29 17:46 ` Yuan Fu
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=83edksjkwa.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=64917@debbugs.gnu.org \
--cc=rpluim@gmail.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.