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 99a2cb05a4 New command 'treesit-toggle-sexp-mode' (bug#76676).
* lisp/treesit.el (treesit-forward-sexp): Don't use
'treesit-sexp-type-regexp' reserved for list commands
to override their default 'list' thing.
(treesit-down-list, treesit-up-list): Use
'treesit-sexp-type-regexp' instead of 'list'
when it's non-nil.
(treesit-toggle-sexp-mode): New command.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings):
Improve 'sexp' thing settings to exclude the top-level
"translation_unit" that just moves to EOF and also "comment".

* lisp/progmodes/elixir-ts-mode.el (elixir-ts--sexp-regexp): Remove.
(elixir-ts--forward-sexp): Remove to use the default 'sexp' navigation.
(elixir-ts--with-parens-0-p, elixir-ts--with-parens-1-p):
New internal functions.
(elixir-ts-mode): Add 'treesit-thing-settings'
instead of 'forward-sexp-function' (bug#76788).

* lisp/progmodes/heex-ts-mode.el (heex-ts--sexp-regexp): Remove.
(heex-ts--forward-sexp): Remove to use the default 'sexp' navigation.
(heex-ts--thing-settings): New variable.
(heex-ts-mode): Use 'heex-ts--thing-settings'
instead of 'forward-sexp-function'.

* lisp/progmodes/java-ts-mode.el (java-ts-mode):
Improve 'sexp' thing to use settings like in c-ts-mode.

* lisp/progmodes/php-ts-mode.el (php-ts-mode):
Improve 'sexp' thing settings to exclude the top-level
"program" that just moves to EOF and also "comment".

* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
Improve 'sexp' thing to use settings like in c-ts-mode.

* lisp/textmodes/css-mode.el (css--treesit-thing-settings):
Add 'sexp' thing.  Add "string_value" to 'text' thing.

* lisp/textmodes/html-ts-mode.el (html-ts-mode--treesit-things-settings):
Improve 'sexp' thing to use settings like in c-ts-mode.
Add "doctype" to the 'list' thing.
2025-04-09 21:21:53 +03:00
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el
conf-mode.el Add major mode for highlighting npmrc files (Bug#77138) 2025-03-29 13:19:04 +03:00
css-mode.el New command 'treesit-toggle-sexp-mode' (bug#76676). 2025-04-09 21:21:53 +03:00
dns-mode.el
emacs-authors-mode.el
emacs-news-mode.el
enriched.el
fill.el
flyspell.el Make turn-on-flyspell/turn-off-flyspell obsolete 2025-03-14 19:50:22 +01:00
glyphless-mode.el
html-ts-mode.el New command 'treesit-toggle-sexp-mode' (bug#76676). 2025-04-09 21:21:53 +03:00
ispell.el Use defvar-keymap for some trivial keymaps 2025-03-16 13:48:11 +01:00
less-css-mode.el
makeinfo.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
markdown-ts-mode.el
mhtml-mode.el
mhtml-ts-mode.el New function treesit-parsers-at for treesit-language-at (bug#77256). 2025-04-08 20:40:10 +03:00
nroff-mode.el
page-ext.el
page.el
paragraphs.el
picture.el
pixel-fill.el
po.el
refbib.el
refer.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
refill.el
reftex-auc.el
reftex-cite.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-dcr.el
reftex-global.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-index.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-parse.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-ref.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-sel.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-toc.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-vars.el
reftex.el Handle TeX-master holding a buffer 2025-04-04 16:17:36 -04: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
string-edit.el Document return values of the various read-* functions 2025-03-09 15:02:39 +02: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
texinfo.el
texnfo-upd.el
text-mode.el Improve conversion between half-width and full-width characters 2025-03-15 13:58:44 +02:00
tildify.el
toml-ts-mode.el
two-column.el
underline.el
word-wrap-mode.el
yaml-ts-mode.el Improve treesit settings for js-ts-mode (bug#73404) 2025-03-03 20:38:40 +02:00