News for hackers. Stuff that matters.
Re:Let's write a treesitter major mode for Emacs by nanna on Thursday September 14, 2023 @06:13AM (#37507032)
Technically in Emacs 29.1 tree-sitter is still only an optional build option, which a given package maintainer may have 'built in' to your package. It isn't actually a default. If you build it from source you need to pass the --with-tree-sitter flag to ./configure. See:

https://www.masteringemacs.org/article/how-to-get-started-tr...

What I read from this is that tree-sitter isn't considered quite ready by the Emacs maintainers, perhaps because of the restricted number of actual treesitter modes, or maybe because the treesitter support itself is not quite considered there yet?

Re:Let's write a treesitter major mode for Emacs by 3836293648 on Thursday September 14, 2023 @06:49AM (#37507279)
It's more external dependency. Libjansson (json serialisation) isn't default either and neither is libgccjit (native elisp comp).
Re:Let's write a treesitter major mode for Emacs by G3rn0ti on Thursday September 14, 2023 @06:55AM (#37507316)
I was lazy. I installed Emacs from Alex Murray's snap:

  sudo snap install emacs
It works w/o problems as it is using snapcraft's "classic" runtime. It comes with both native compilation and tresitter support.