From: Eli Zaretskii Date: Wed, 4 Jan 2023 18:51:04 +0000 (+0200) Subject: ; * etc/NEWS: Instructions for builds without tree-sitter (bug#60559) X-Git-Tag: emacs-29.0.90~837 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cef875f6c516e63fd53d5d05410a88f3c7750269;p=emacs.git ; * etc/NEWS: Instructions for builds without tree-sitter (bug#60559) --- diff --git a/etc/NEWS b/etc/NEWS index 38a8798507a..b45b7de1fcc 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3157,6 +3157,15 @@ files, the new modes based on tree-sitter are for now entirely optional, and you must turn them on manually, or customize 'auto-mode-alist' to turn them on automatically. +Where no major modes previously existed in Emacs for editing the kinds +of files for which Emacs now provides a tree-sitter based mode, Emacs +will now try to enable the tree-sitter mode automatically when you +visit such files, and will display a warning if the tree-sitter +library or the parser grammar library is not available. To prevent +the warnings, either build Emacs with tree-sitter and install the +grammar libraries, or customize 'auto-mode-alist' to specify some +other major mode (or even Fundamental mode) for those kinds of files. + Each major mode based on tree-sitter needs a language grammar library, usually named "libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on MS-Windows), where LANG is the corresponding language name. Emacs