From: Yuan Fu Date: Tue, 3 Jan 2023 06:52:42 +0000 (-0800) Subject: ; * etc/NEWS: Mention treesit-install-language-grammar. X-Git-Tag: emacs-29.0.90~847 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae0d218d0b38ae94db44006fc9930ab1d14b345d;p=emacs.git ; * etc/NEWS: Mention treesit-install-language-grammar. --- diff --git a/etc/NEWS b/etc/NEWS index 355ba6ba8aa..e679b904a65 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -63,6 +63,13 @@ the other shared libraries used by Emacs, or in the "tree-sitter" subdirectory of your 'user-emacs-directory', or in a directory mentioned in the variable 'treesit-extra-load-path'. +Emacs provides a user command, 'treesit-install-language-grammar', +that automates the building process. A third-party major mode package +could instruct its users to set 'treesit-language-source-alist' +accordingly and use that command to download and compile the language +grammar. A user could also use that command directly and manually +guide it through the process. + You only need to install language grammar libraries required by the Emacs modes you will use, as Emacs loads these libraries only when the corresponding mode is turned on in some buffer for the first time in