<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/textmodes, branch scratch/string-common-prefix</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>; Fix :type of 'yaml-ts-mode-yamllint-options'</title>
<updated>2026-01-22T12:52:12+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2026-01-22T12:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5290b5dddb9903b2e8010fe63564a31f208d209d'/>
<id>5290b5dddb9903b2e8010fe63564a31f208d209d</id>
<content type='text'>
* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode-yamllint-options):
Fix :type and doc string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode-yamllint-options):
Fix :type and doc string.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * lisp/textmodes/yaml-ts-mode.el: Fix docstring wider than 80 characters.</title>
<updated>2026-01-21T18:08:14+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2026-01-21T18:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=41c0d254d509aa41b6620bc5127e9f022afd2ed4'/>
<id>41c0d254d509aa41b6620bc5127e9f022afd2ed4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Flymake support for yaml-ts-mode.</title>
<updated>2026-01-21T17:41:40+00:00</updated>
<author>
<name>Vincenzo Pupillo</name>
</author>
<published>2026-01-15T20:16:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=15d3cc3f65e8ea3bc1e1a4c766f439bcad012150'/>
<id>15d3cc3f65e8ea3bc1e1a4c766f439bcad012150</id>
<content type='text'>
* etc/NEWS: Announce the new customization option (bug#80215).
* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode): New customization group.
(yaml-ts-mode-yamllint-options): New customization option.
(yaml-ts-mode--flymake-process): New variable that stores the reference
to the flymake process.
(yaml-ts-mode-flymake): New function that implements support for Flymake.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/NEWS: Announce the new customization option (bug#80215).
* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode): New customization group.
(yaml-ts-mode-yamllint-options): New customization option.
(yaml-ts-mode--flymake-process): New variable that stores the reference
to the flymake process.
(yaml-ts-mode-flymake): New function that implements support for Flymake.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Remove redundant cl-lib runtime dependencies across lisp/</title>
<updated>2026-01-17T13:32:15+00:00</updated>
<author>
<name>USAMI Kenta</name>
</author>
<published>2026-01-04T17:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c68c5fbe14657060381bc6069b7d5a2be3ee4fea'/>
<id>c68c5fbe14657060381bc6069b7d5a2be3ee4fea</id>
<content type='text'>
* lisp/editorconfig-tools.el:
* lisp/emacs-lisp/shorthands.el:
* lisp/info-xref.el:
* lisp/international/quail.el:
* lisp/international/rfc1843.el:
* lisp/mail/ietf-drums.el:
* lisp/mail/rfc2047.el:
* lisp/mail/yenc.el:
* lisp/net/pop3.el:
* lisp/net/sasl-scram-sha256.el:
* lisp/net/shr-color.el:
* lisp/progmodes/grep.el:
* lisp/scroll-bar.el:
* lisp/textmodes/emacs-news-mode.el:
* lisp/textmodes/reftex-auc.el:
* lisp/textmodes/reftex-dcr.el:
* lisp/textmodes/reftex-global.el:
* lisp/textmodes/reftex-sel.el:
* lisp/url/url-dav.el:
* lisp/vc/vc-src.el:
* lisp/xwidget.el:
* lisp/yank-media.el: Remove redundant (require 'cl-lib).
(Bug#80129)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/editorconfig-tools.el:
* lisp/emacs-lisp/shorthands.el:
* lisp/info-xref.el:
* lisp/international/quail.el:
* lisp/international/rfc1843.el:
* lisp/mail/ietf-drums.el:
* lisp/mail/rfc2047.el:
* lisp/mail/yenc.el:
* lisp/net/pop3.el:
* lisp/net/sasl-scram-sha256.el:
* lisp/net/shr-color.el:
* lisp/progmodes/grep.el:
* lisp/scroll-bar.el:
* lisp/textmodes/emacs-news-mode.el:
* lisp/textmodes/reftex-auc.el:
* lisp/textmodes/reftex-dcr.el:
* lisp/textmodes/reftex-global.el:
* lisp/textmodes/reftex-sel.el:
* lisp/url/url-dav.el:
* lisp/vc/vc-src.el:
* lisp/xwidget.el:
* lisp/yank-media.el: Remove redundant (require 'cl-lib).
(Bug#80129)
</pre>
</div>
</content>
</entry>
<entry>
<title>New minor mode center-line-mode</title>
<updated>2026-01-17T12:33:35+00:00</updated>
<author>
<name>Amin Bandali</name>
</author>
<published>2026-01-05T04:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5020d89104dfc25601ca595bca9124a27ea8b1cb'/>
<id>5020d89104dfc25601ca595bca9124a27ea8b1cb</id>
<content type='text'>
* lisp/textmodes/text-mode.el (center-line-mode--track-changes):
New local variable for storing the id of the change tracker registered
for the current buffer.
(center-line-mode--track-changes-signal): New function to be called by
the track-changes library whenever there is a change in the current
buffer.
(center-line-mode--track-changes-function): New function called from the
above signal function, iterates over the lines of the modified region,
calling 'center-line' for each non-empty line.
(center-line-mode): New minor mode.
* etc/NEWS: Document the new minor mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/textmodes/text-mode.el (center-line-mode--track-changes):
New local variable for storing the id of the change tracker registered
for the current buffer.
(center-line-mode--track-changes-signal): New function to be called by
the track-changes library whenever there is a change in the current
buffer.
(center-line-mode--track-changes-function): New function called from the
above signal function, iterates over the lines of the modified region,
calling 'center-line' for each non-empty line.
(center-line-mode): New minor mode.
* etc/NEWS: Document the new minor mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Improve docs for last change.</title>
<updated>2026-01-14T18:48:56+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2026-01-14T18:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=02966c8db5df5d779da36dada1645d7ae384064e'/>
<id>02966c8db5df5d779da36dada1645d7ae384064e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow Ispell to save corrections as abbrevs</title>
<updated>2026-01-14T18:48:56+00:00</updated>
<author>
<name>Paul Nelson</name>
</author>
<published>2025-12-15T16:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ea5d079e262837c302467c6656b82aed98097f94'/>
<id>ea5d079e262837c302467c6656b82aed98097f94</id>
<content type='text'>
* lisp/textmodes/ispell.el (ispell-save-corrections-as-abbrevs):
New user option.
(ispell--abbrev-saving-allowed)
(ispell--save-correction-as-abbrev): New variables.
(ispell--maybe-save-correction-abbrev): New function.
(ispell-word, ispell-process-line): Use them to save corrections
as abbrevs when appropriate (bug#79985).
(ispell-command-loop): Add C-u as command character to toggle
abbrev saving for an immediately following replacement command.
(ispell-help): Document C-u binding.

* doc/emacs/fixit.texi (Spelling): Document new feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/textmodes/ispell.el (ispell-save-corrections-as-abbrevs):
New user option.
(ispell--abbrev-saving-allowed)
(ispell--save-correction-as-abbrev): New variables.
(ispell--maybe-save-correction-abbrev): New function.
(ispell-word, ispell-process-line): Use them to save corrections
as abbrevs when appropriate (bug#79985).
(ispell-command-loop): Add C-u as command character to toggle
abbrev saving for an immediately following replacement command.
(ispell-help): Document C-u binding.

* doc/emacs/fixit.texi (Spelling): Document new feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>sgml-mode.el: Prefer `forward-sexp` over `forward-list`</title>
<updated>2026-01-13T15:18:46+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2026-01-13T15:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3e2ee9869d238a2171aa0e3c350c96c5c6b12931'/>
<id>3e2ee9869d238a2171aa0e3c350c96c5c6b12931</id>
<content type='text'>
They're always called immediately before a `&lt;` char, in which case
they do the same anyway.  This saves us from having to touch
 `forward-list-function` in addition to `forward-exp-function`.

While at it, change `sgml-tags-invisible` to use `define-minor-mode`.

* lisp/textmodes/sgml-mode.el (sgml-delete-tag)
(sgml-electric-tag-pair-before-change-function): Prefer `forward-sexp`
over `forward-list`.
(sgml-tags-invisible): Define with `define-minor-mode`.  Don't disable
`cursor-sensor-mode` when we don't need it any more, since some other
package may be using it.  Remove redundant binding of `inhibit-read-only`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They're always called immediately before a `&lt;` char, in which case
they do the same anyway.  This saves us from having to touch
 `forward-list-function` in addition to `forward-exp-function`.

While at it, change `sgml-tags-invisible` to use `define-minor-mode`.

* lisp/textmodes/sgml-mode.el (sgml-delete-tag)
(sgml-electric-tag-pair-before-change-function): Prefer `forward-sexp`
over `forward-list`.
(sgml-tags-invisible): Define with `define-minor-mode`.  Don't disable
`cursor-sensor-mode` when we don't need it any more, since some other
package may be using it.  Remove redundant binding of `inhibit-read-only`.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/textmodes/html-ts-mode.el: Special handling of 'show-paren-mode'.</title>
<updated>2026-01-13T07:54:55+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2026-01-13T07:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=52875b51bf11646fa5f7d5bf6320407b37c767c6'/>
<id>52875b51bf11646fa5f7d5bf6320407b37c767c6</id>
<content type='text'>
(html-ts-mode--show-paren-data): New function to exclude
unbalanced tags when the closing tag is missing.
(html-ts-mode): Set 'show-paren-data-function' to
'html-ts-mode--show-paren-data' (bug#80151).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(html-ts-mode--show-paren-data): New function to exclude
unbalanced tags when the closing tag is missing.
(html-ts-mode): Set 'show-paren-data-function' to
'html-ts-mode--show-paren-data' (bug#80151).
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/textmodes/sgml-mode.el: Fix for html-ts-mode.</title>
<updated>2026-01-13T07:50:17+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2026-01-13T07:50:17+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=578750c7c81d12a5a55503c5c523ee1b1cb8bc0d'/>
<id>578750c7c81d12a5a55503c5c523ee1b1cb8bc0d</id>
<content type='text'>
(sgml-electric-tag-pair-before-change-function):
Let-bind 'forward-list-function' to nil.
(sgml-delete-tag): Let-bind 'forward-sexp-function'
and 'forward-list-function' to nil.
(sgml-tags-invisible): Let-bind 'forward-list-function' to nil.

All this is required to use the default definitions of sexp/list
that significantly differ from treesit definitions (bug#80151).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(sgml-electric-tag-pair-before-change-function):
Let-bind 'forward-list-function' to nil.
(sgml-delete-tag): Let-bind 'forward-sexp-function'
and 'forward-list-function' to nil.
(sgml-tags-invisible): Let-bind 'forward-list-function' to nil.

All this is required to use the default definitions of sexp/list
that significantly differ from treesit definitions (bug#80151).
</pre>
</div>
</content>
</entry>
</feed>
