1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/textmodes
Juri Linkov 1a76b527ac Use keyword :commit with full hashes for treesit-language-source-alist.
* lisp/treesit.el (treesit-language-source-alist):
Document the format that uses keywords.
(treesit--install-language-grammar-1): Remove args
'revision', 'source-dir', 'cc', 'c++', 'commit'.
Use 'args' to process the keywords, and use the remaining
list as the previous list of arguments.
(treesit--install-language-grammar-1): Let-bind
'treesit--install-language-grammar-full-clone' and
'treesit--install-language-grammar-blobless' to t
when 'commit' is non-nil (bug#78542).

* lisp/progmodes/c-ts-mode.el:
* lisp/progmodes/cmake-ts-mode.el:
* lisp/progmodes/csharp-mode.el:
* lisp/progmodes/dockerfile-ts-mode.el:
* lisp/progmodes/elixir-ts-mode.el:
* lisp/progmodes/go-ts-mode.el:
* lisp/progmodes/heex-ts-mode.el:
* lisp/progmodes/java-ts-mode.el:
* lisp/progmodes/js.el:
* lisp/progmodes/json-ts-mode.el:
* lisp/progmodes/php-ts-mode.el:
* lisp/progmodes/python.el:
* lisp/progmodes/ruby-ts-mode.el:
* lisp/progmodes/rust-ts-mode.el:
* lisp/progmodes/sh-script.el:
* lisp/progmodes/typescript-ts-mode.el:
* lisp/textmodes/css-mode.el:
* lisp/textmodes/html-ts-mode.el:
* lisp/textmodes/markdown-ts-mode.el:
* lisp/textmodes/toml-ts-mode.el:
* lisp/textmodes/yaml-ts-mode.el:
Use the keyword :commit with full hashes instead of tags
in 'treesit-language-source-alist'.

* lisp/treesit-x.el (define-treesit-generic-mode):
Simplify the keyword :copy-queries.
(gitattributes-generic-ts-mode, liquid-generic-ts-mode):
Add keywords :commit and :copy-queries to :source.

* admin/tree-sitter/treesit-admin.el
(treesit-admin--unversioned-treesit-language-source-alist):
Handle :revision and :commit as well.
(treesit-admin--find-latest-compatible-revision):
Process the keywords in the recipe.
2025-06-20 19:58:28 +03:00
..
artist.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bib-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bibtex-style.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bibtex.el ; Fix typos 2025-02-22 14:48:29 +01:00
conf-mode.el Add major mode for highlighting npmrc files (Bug#77138) 2025-03-29 13:19:04 +03:00
css-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
dns-mode.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
emacs-authors-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs-news-mode.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
enriched.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
fill.el Add semantic linefeed support for paragraph filling 2025-06-14 16:34:52 +03:00
flyspell.el Make turn-on-flyspell/turn-off-flyspell obsolete 2025-03-14 19:50:22 +01:00
glyphless-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
html-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
ispell.el Use defvar-keymap for some trivial keymaps 2025-03-16 13:48:11 +01:00
less-css-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
makeinfo.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
markdown-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
mhtml-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mhtml-ts-mode.el New variable 'comment-setup-function' for multi-language modes. 2025-05-05 19:57:29 +03:00
nroff-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
page-ext.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
page.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
paragraphs.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
picture.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pixel-fill.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
po.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refbib.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refer.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
refill.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-auc.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-cite.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-dcr.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-global.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-index.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-parse.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-ref.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-sel.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-toc.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-vars.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex.el ; reftex.el: Checkdoc fixes, comments to docstrings 2025-05-30 18:43:29 +02:00
remember.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
rst.el Merge from origin/emacs-30 2025-03-30 16:17:00 +02:00
sgml-mode.el Revert addition of electric-block-comment-mode & follow-up commits 2025-04-22 20:47:56 +08:00
string-edit.el ; Fix compilation warning in string-edit.el 2025-04-26 18:01:42 +03:00
table.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
tex-mode.el Extend prettify-symbols-alist in TeX mode 2025-04-05 12:21:29 +03:00
texinfmt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
texinfo.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
texnfo-upd.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
text-mode.el Merge from origin/emacs-30 2025-04-30 07:14:23 -04:00
tildify.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
toml-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
two-column.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
underline.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
word-wrap-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
yaml-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00