<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test, branch scratch/low-level-key</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>; * test/lisp/textmodes/fill-tests.el (markdown-mode): Declare.</title>
<updated>2025-06-29T04:38:55+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-06-29T04:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=036c95bbf67368b8efff70f41274130c60865f33'/>
<id>036c95bbf67368b8efff70f41274130c60865f33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add variable `fill-region-as-paragraph-function'</title>
<updated>2025-06-29T04:33:24+00:00</updated>
<author>
<name>Roi Martin</name>
</author>
<published>2025-06-17T08:45:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=99ec286d7803fa59f770013a2135f23918510103'/>
<id>99ec286d7803fa59f770013a2135f23918510103</id>
<content type='text'>
Add the variable `fill-region-as-paragraph-function' to provide
a way to override how functions like `fill-region' fill text.
* doc/lispref/text.texi (Filling): Document
`fill-region-as-paragraph-function' variable.
* doc/emacs/text.texi (Fill Commands): Reference
`fill-region-as-paragraph-function' variable.
* lisp/textmodes/fill.el (fill-region-as-paragraph-function):
Add variable.
(fill-region-as-paragraph): Convert into
`fill-region-as-paragraph-function' wrapper.
(fill-region-as-paragraph-default): Rename old
`fill-region-as-paragraph' function.
(fill-region-as-paragraph-semlf): Update calls to
`fill-region-as-paragraph-default'.
(fill-region): Add reference to `fill-region-as-paragraph-function'
in doc string.
* test/lisp/textmodes/fill-tests.el (fill-test-fill-region): Add
test case for the `fill-region' function.
* test/lisp/textmodes/fill-resources/fill-region.erts: Add test
data.  (Bug#78816)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the variable `fill-region-as-paragraph-function' to provide
a way to override how functions like `fill-region' fill text.
* doc/lispref/text.texi (Filling): Document
`fill-region-as-paragraph-function' variable.
* doc/emacs/text.texi (Fill Commands): Reference
`fill-region-as-paragraph-function' variable.
* lisp/textmodes/fill.el (fill-region-as-paragraph-function):
Add variable.
(fill-region-as-paragraph): Convert into
`fill-region-as-paragraph-function' wrapper.
(fill-region-as-paragraph-default): Rename old
`fill-region-as-paragraph' function.
(fill-region-as-paragraph-semlf): Update calls to
`fill-region-as-paragraph-default'.
(fill-region): Add reference to `fill-region-as-paragraph-function'
in doc string.
* test/lisp/textmodes/fill-tests.el (fill-test-fill-region): Add
test case for the `fill-region' function.
* test/lisp/textmodes/fill-resources/fill-region.erts: Add test
data.  (Bug#78816)
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid extra output in Vprin1_to_string_buffer (bug#78842)</title>
<updated>2025-06-28T10:46:08+00:00</updated>
<author>
<name>Pip Cet</name>
</author>
<published>2025-06-28T09:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6b19eb53c5048cfec1f3601afb44f94ebbb9d138'/>
<id>6b19eb53c5048cfec1f3601afb44f94ebbb9d138</id>
<content type='text'>
print_error_message can throw after producing some output, so use
unwind-protect to ensure prin1-to-string-buffer is cleared.

* src/print.c (erase_prin1_to_string_buffer): New.
(Ferror_message_string): Use it to catch errors thrown in
'print_error_message'.
* test/src/print-tests.el (error-message-string-circular): Expand
test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
print_error_message can throw after producing some output, so use
unwind-protect to ensure prin1-to-string-buffer is cleared.

* src/print.c (erase_prin1_to_string_buffer): New.
(Ferror_message_string): Use it to catch errors thrown in
'print_error_message'.
* test/src/print-tests.el (error-message-string-circular): Expand
test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "function-put: signal error with non-symbol"</title>
<updated>2025-06-28T09:01:13+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-06-28T09:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b4d3ac1e041347081f0843e0b47ad86516cd9cc9'/>
<id>b4d3ac1e041347081f0843e0b47ad86516cd9cc9</id>
<content type='text'>
This reverts commit a4ec9ca12969018cdf15b8cc713b3ba054326f99.
It caused unnecessary errors, see bug#78593.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a4ec9ca12969018cdf15b8cc713b3ba054326f99.
It caused unnecessary errors, see bug#78593.
</pre>
</div>
</content>
</entry>
<entry>
<title>(peg-parse): Fix bug#78884</title>
<updated>2025-06-28T03:12:40+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2025-06-24T22:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=68100ca656ad76e937622a1a74b6ca185bc82e07'/>
<id>68100ca656ad76e937622a1a74b6ca185bc82e07</id>
<content type='text'>
* lisp/progmodes/peg.el (peg-parse): Be more careful when
testing if a symbol is the name of an existing rule.  Improve docstring.

test/lisp/progmodes/peg-tests.el (peg-tests--peg-parse): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/peg.el (peg-parse): Be more careful when
testing if a symbol is the name of an existing rule.  Improve docstring.

test/lisp/progmodes/peg-tests.el (peg-tests--peg-parse): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>(Finsert_file_contents): Refine commit d07af40d8826</title>
<updated>2025-06-28T03:11:39+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2025-06-23T02:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6c0bbf0f921682a185ebd57efef1e9d4f8ced788'/>
<id>6c0bbf0f921682a185ebd57efef1e9d4f8ced788</id>
<content type='text'>
* src/fileio.c (Finsert_file_contents): Inhibit ask-supersession
only if we're VISITing in a non-narrowed buffer (bug#78866).

* test/src/fileio-tests.el (ert--tests-dir): New var.
(fileio-tests--insert-file-contents-supersession): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/fileio.c (Finsert_file_contents): Inhibit ask-supersession
only if we're VISITing in a non-narrowed buffer (bug#78866).

* test/src/fileio-tests.el (ert--tests-dir): New var.
(fileio-tests--insert-file-contents-supersession): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>When making a readable page in EWW, include the &lt;title&gt; and similar tags</title>
<updated>2025-06-26T04:26:04+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2025-06-17T16:11:55+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2bdcf0250acecdb0719203ae711aedf5baad1783'/>
<id>2bdcf0250acecdb0719203ae711aedf5baad1783</id>
<content type='text'>
* lisp/net/eww.el (eww--walk-readability, eww-readable-dom): New
functions.
(eww-display-html): Call 'eww-readable-dom'.
(eww-readable): Call 'eww-readable-dom'.  Don't copy over 'eww-data'
properties that our new readable page can handle on its own.
(eww-score-readability): Rewrite in terms of 'eww--walk-readability'.
Make obsolete.
(eww-highest-readability): Make obsolete.

* test/lisp/net/eww-tests.el (eww-test--lots-of-words)
(eww-test--wordy-page): New variables...
(eww-test/readable/toggle-display): ... use them.
(eww-test/readable/default-readable): Make sure that the readable page
includes the &lt;title&gt; and &lt;link&gt; tags (bug#77299).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/net/eww.el (eww--walk-readability, eww-readable-dom): New
functions.
(eww-display-html): Call 'eww-readable-dom'.
(eww-readable): Call 'eww-readable-dom'.  Don't copy over 'eww-data'
properties that our new readable page can handle on its own.
(eww-score-readability): Rewrite in terms of 'eww--walk-readability'.
Make obsolete.
(eww-highest-readability): Make obsolete.

* test/lisp/net/eww-tests.el (eww-test--lots-of-words)
(eww-test--wordy-page): New variables...
(eww-test/readable/toggle-display): ... use them.
(eww-test/readable/default-readable): Make sure that the readable page
includes the &lt;title&gt; and &lt;link&gt; tags (bug#77299).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix usage of 'treesit-defun-type-regexp' in treesit-tests.</title>
<updated>2025-06-25T16:45:54+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2025-06-25T16:45:54+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=789a6b969345d6f9e0c8604bff8618d20a6cf536'/>
<id>789a6b969345d6f9e0c8604bff8618d20a6cf536</id>
<content type='text'>
* test/src/treesit-tests.el (treesit--ert-test-defun-navigation):
Replace 'treesit-defun-type-regexp' with
'(or treesit-defun-type-regexp 'defun)' that fixes the tests
for ts-modes that set up the 'defun' thing instead of
'treesit-defun-type-regexp'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/treesit-tests.el (treesit--ert-test-defun-navigation):
Replace 'treesit-defun-type-regexp' with
'(or treesit-defun-type-regexp 'defun)' that fixes the tests
for ts-modes that set up the 'defun' thing instead of
'treesit-defun-type-regexp'.
</pre>
</div>
</content>
</entry>
<entry>
<title>* test/infra/gitlab-ci.yml (test-eglot): Fix EMACS_EXTRAOPT.</title>
<updated>2025-06-21T14:27:46+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2025-06-21T14:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c98a74cd87652daf30204816d9e602f0965cd91b'/>
<id>c98a74cd87652daf30204816d9e602f0965cd91b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support strings for electric pairs (bug#78053)</title>
<updated>2025-06-21T09:24:55+00:00</updated>
<author>
<name>Elías Gabriel Pérez</name>
</author>
<published>2025-04-24T23:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=60fbeda771639ded68ffd0666df340c7a06cafcf'/>
<id>60fbeda771639ded68ffd0666df340c7a06cafcf</id>
<content type='text'>
This add support for insert string pairs in 'electric-pairs-mode'.
* lisp/elec-pair.el (electric-pair-pairs)
(electric-pair-text-pairs): Add new defcustom types.
(electric-pair-syntax-info)
(electric-pair-post-self-insert-function): Add support for
strings.

* etc/NEWS: Announce changes.

* test/lisp/electric-tests.el: Add new tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This add support for insert string pairs in 'electric-pairs-mode'.
* lisp/elec-pair.el (electric-pair-pairs)
(electric-pair-text-pairs): Add new defcustom types.
(electric-pair-syntax-info)
(electric-pair-post-self-insert-function): Add support for
strings.

* etc/NEWS: Announce changes.

* test/lisp/electric-tests.el: Add new tests.
</pre>
</div>
</content>
</entry>
</feed>
