emacs/lisp/textmodes
Theodor Thornhill 37d9397578 Add forward-sentence with tree sitter support (bug#60623)
* etc/NEWS: Mention the new changes.
* lisp/textmodes/paragraphs.el (forward-sentence-default-function):
Move old implementation to its own function.
(forward-sentence-function): New defvar defaulting to old behavior.
(forward-sentence): Use the variable in this function unconditionally.
* lisp/treesit.el (treesit-sentence-type-regexp): New defvar.
(treesit-forward-sentence): New defun.
(treesit-major-mode-setup): Conditionally set
forward-sentence-function.
* doc/emacs/programs.texi (Defuns): Add new subsection.
(Moving by Sentences): Add some documentation with xrefs to the elisp
manual and related nodes.
* doc/lispref/positions.texi (List Motion): Mention
treesit-sentence-type-regexp and describe how to enable this
functionality.
2023-01-11 16:26:00 +01:00
..
artist.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
bib-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
bibtex-style.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
bibtex.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
conf-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
css-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dns-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-authors-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-news-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
enriched.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
fill.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
flyspell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
glyphless-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ispell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
less-css-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
makeinfo.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mhtml-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
nroff-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
page-ext.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
page.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
paragraphs.el Add forward-sentence with tree sitter support (bug#60623) 2023-01-11 16:26:00 +01:00
picture.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pixel-fill.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
po.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
refbib.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
refer.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
refill.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-auc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-cite.el Fix reftex-citation docstring (bug#60710) 2023-01-10 19:02:04 +02:00
reftex-dcr.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-global.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-index.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-parse.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-ref.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-sel.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-toc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex-vars.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
reftex.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
remember.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rst.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sgml-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
string-edit.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
table.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tex-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
texinfmt.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
texinfo.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
texnfo-upd.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
text-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tildify.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
toml-ts-mode.el Make 'toml-ts-mode' optional 2023-01-05 08:40:07 +02:00
two-column.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
underline.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
word-wrap-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
yaml-ts-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00