emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 cef875f6c5 1/2: ; * etc/NEWS: Instructions for builds without t


From: Eli Zaretskii
Subject: emacs-29 cef875f6c5 1/2: ; * etc/NEWS: Instructions for builds without tree-sitter (bug#60559)
Date: Wed, 4 Jan 2023 13:53:06 -0500 (EST)

branch: emacs-29
commit cef875f6c516e63fd53d5d05410a88f3c7750269
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * etc/NEWS: Instructions for builds without tree-sitter (bug#60559)
---
 etc/NEWS | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 38a8798507..b45b7de1fc 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



reply via email to

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