bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60559: 29.0.60; "Cannot activate tree-sitter" spam


From: Eli Zaretskii
Subject: bug#60559: 29.0.60; "Cannot activate tree-sitter" spam
Date: Wed, 04 Jan 2023 20:36:15 +0200

tags 60559 notabug wontfix
thanks

> From: Eric Gillespie <epg@pretzelnet.org>
> Date: Wed, 04 Jan 2023 08:48:43 -0600
> 
> 1. emacs -Q Cargo.toml
> 2. emacs -Q Dockerfile
> 
> Expected results:
> Files opened without fanfare, as emacs always faithfully did for me
> these last 25 years.
> 
> Actual results:
> In both cases, a *Warnings* buffer pops up noisily occupying half the
> screen and showing a bright red emoji saying:
> 
>       Warning (treesit): Cannot activate tree-sitter, because
>       tree-sitter library is not compiled with Emacs

This is not a bug.  Emacs 29 comes with major modes for TOML files and
for Dockerfiles, and those new major modes require that you build
Emacs with the tree-sitter library (and install the corresponding
parser grammar libraries).  If you don't want to do that, you can
instead customize auto-mode-alist to make Emacs use Fundamental mode
(or any other mode you like) for these two file types.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]