<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/src, branch scratch/faster-loaddefs</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 issue with nativecomp tests leaving files behind in /tmp</title>
<updated>2022-05-24T15:24:40+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-05-24T15:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6232932f4bb0630ef4656ed2f8e977fd7fb59952'/>
<id>6232932f4bb0630ef4656ed2f8e977fd7fb59952</id>
<content type='text'>
* test/src/comp-tests.el (comp-deftest): Ensure that no files are left
behind (bug#55611).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/comp-tests.el (comp-deftest): Ensure that no files are left
behind (bug#55611).
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up a test file in /tmp</title>
<updated>2022-05-24T14:11:09+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-05-24T14:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aea843c3d69000faa5b84fb3ac1fd3883f800de3'/>
<id>aea843c3d69000faa5b84fb3ac1fd3883f800de3</id>
<content type='text'>
* test/src/buffer-tests.el (test-restore-buffer-modified-p): Clean
up autosave file in /tmp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/buffer-tests.el (test-restore-buffer-modified-p): Clean
up autosave file in /tmp.
</pre>
</div>
</content>
</entry>
<entry>
<title>Less wrong printed circular list tail index (bug#55395)</title>
<updated>2022-05-23T14:50:00+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2022-05-23T14:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5a1a67a2562fab77856b48a38d89713d7f2c96d7'/>
<id>5a1a67a2562fab77856b48a38d89713d7f2c96d7</id>
<content type='text'>
When printing a circular list and `print-circle` is nil, use a
somewhat more meaningful ". #N" tail index.  The previous method for
calculating that index was based on Floyd circularity detection being
used so it had been broken ever since the change to Brent's algorithm.

The new index is correct with respect to the start of the list itself
which is what it used to be before being completely broken.
It does not take into account the nesting depth of the list context.

* src/print.c (struct print_stack_entry, print_object):
Keep track of the tortoise index (which is cheap) instead of trying
to derive it from the printed element index.
* test/src/print-tests.el (print-test-rho, print-circular):
New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When printing a circular list and `print-circle` is nil, use a
somewhat more meaningful ". #N" tail index.  The previous method for
calculating that index was based on Floyd circularity detection being
used so it had been broken ever since the change to Brent's algorithm.

The new index is correct with respect to the start of the list itself
which is what it used to be before being completely broken.
It does not take into account the nesting depth of the list context.

* src/print.c (struct print_stack_entry, print_object):
Keep track of the tortoise index (which is cheap) instead of trying
to derive it from the printed element index.
* test/src/print-tests.el (print-test-rho, print-circular):
New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make printing mostly non-recursive (bug#55481)</title>
<updated>2022-05-18T08:40:15+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2022-05-13T11:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=97400c4c2446f00ee0783249b9c4f1fbfaf65fb2'/>
<id>97400c4c2446f00ee0783249b9c4f1fbfaf65fb2</id>
<content type='text'>
Introduce explicit stacks for traversing common data types during
printing: conses, vectors, records, byte-code, hash-tables and
char-tables, all previously traversed using recursion in C.  This
greatly reduces the risk of crashing Emacs from C stack overflow
when printing deeply nested data.

* src/print.c (Fprinc, print, PRINT_CIRCLE_CANDIDATE_P):
Special-case Fprinc with a plain string argument to eliminate the need
for keeping track of print_depth during the preprocessing phase.
This also improves performance.
(struct print_pp_entry, struct print_pp_stack, ppstack)
(grow_pp_stack, pp_stack_push_value, pp_stack_push_values)
(pp_stack_empty_p, pp_stack_pop):
New stack for preprocessing.
(print_preprocess):
Make mostly nonrecursive, except for string properties.
(enum print_entry_type, struct print_stack_entry)
(struct print_stack, prstack, grow_print_stack)
(print_stack_push, print_stack_push_vector):
New stack for printing.
(print_vectorlike, print_object):
Make mostly nonrecursive, except for string properties and some less
heavily used types.
* test/src/print-tests.el (print-deeply-nested):
New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce explicit stacks for traversing common data types during
printing: conses, vectors, records, byte-code, hash-tables and
char-tables, all previously traversed using recursion in C.  This
greatly reduces the risk of crashing Emacs from C stack overflow
when printing deeply nested data.

* src/print.c (Fprinc, print, PRINT_CIRCLE_CANDIDATE_P):
Special-case Fprinc with a plain string argument to eliminate the need
for keeping track of print_depth during the preprocessing phase.
This also improves performance.
(struct print_pp_entry, struct print_pp_stack, ppstack)
(grow_pp_stack, pp_stack_push_value, pp_stack_push_values)
(pp_stack_empty_p, pp_stack_pop):
New stack for preprocessing.
(print_preprocess):
Make mostly nonrecursive, except for string properties.
(enum print_entry_type, struct print_stack_entry)
(struct print_stack, prstack, grow_print_stack)
(print_stack_push, print_stack_push_vector):
New stack for printing.
(print_vectorlike, print_object):
Make mostly nonrecursive, except for string properties and some less
heavily used types.
* test/src/print-tests.el (print-deeply-nested):
New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add OVERRIDES argument to prin1/prin1-to-string</title>
<updated>2022-05-15T13:29:38+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-05-15T13:29:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aa95b2a47dce8cf74f70f43f72e35349782d1c74'/>
<id>aa95b2a47dce8cf74f70f43f72e35349782d1c74</id>
<content type='text'>
* doc/lispref/streams.texi (Output Functions): Document it.
(Output Overrides): New node.

* src/process.c (Faccept_process_output):
* src/print.c (debug_print, print_error_message):
* src/pdumper.c (print_paths_to_root_1, decode_emacs_reloc):
* src/lread.c (readevalloop):
* src/eval.c (internal_lisp_condition_case):
* src/editfns.c (styled_format): Adjust prin1/prin1-to-string
callers.

* src/print.c (Fprin1): Take an OVERRIDES parameter.
(print_bind_overrides, print_bind_all_defaults): New functions.
(Fprin1_to_string): Take an OVERRIDES parameter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/streams.texi (Output Functions): Document it.
(Output Overrides): New node.

* src/process.c (Faccept_process_output):
* src/print.c (debug_print, print_error_message):
* src/pdumper.c (print_paths_to_root_1, decode_emacs_reloc):
* src/lread.c (readevalloop):
* src/eval.c (internal_lisp_condition_case):
* src/editfns.c (styled_format): Adjust prin1/prin1-to-string
callers.

* src/print.c (Fprin1): Take an OVERRIDES parameter.
(print_bind_overrides, print_bind_all_defaults): New functions.
(Fprin1_to_string): Take an OVERRIDES parameter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust restore-buffer-modified-p autosaved logic</title>
<updated>2022-05-12T00:16:38+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-05-12T00:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1642a5ffcdf734c629e5aec963a0b190997704d6'/>
<id>1642a5ffcdf734c629e5aec963a0b190997704d6</id>
<content type='text'>
* doc/lispref/buffers.texi (Buffer Modification): Adjust
documentation.

* src/buffer.c (Frestore_buffer_modified_p): Fix up the logic
around `autosaved': It means "the buffer is modified, and also
autosaved".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/buffers.texi (Buffer Modification): Adjust
documentation.

* src/buffer.c (Frestore_buffer_modified_p): Fix up the logic
around `autosaved': It means "the buffer is modified, and also
autosaved".
</pre>
</div>
</content>
</entry>
<entry>
<title>Reimplement recent with-silent-modifications auto-save changes</title>
<updated>2022-05-10T01:46:43+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-05-10T01:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0bee4cda881f7db4113cba541b684c334e828c4a'/>
<id>0bee4cda881f7db4113cba541b684c334e828c4a</id>
<content type='text'>
* doc/lispref/buffers.texi (Buffer Modification): Document
buffer-modified-p returning `autosaved'.
* lisp/subr.el (with-silent-modifications): Use
restore-buffer-modified-p instead of altering the buffer modiff
(since this has other side effects like not updating after async
`display' changes.

* src/buffer.c (Fbuffer_modified_p): Allow returning whether the
buffer has been autosaved after changes.
(Frestore_buffer_modified_p): Allow adjusting whether the buffer
has been autosaved after changes.

* src/fileio.c (Fdo_auto_save): Refill the doc string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/buffers.texi (Buffer Modification): Document
buffer-modified-p returning `autosaved'.
* lisp/subr.el (with-silent-modifications): Use
restore-buffer-modified-p instead of altering the buffer modiff
(since this has other side effects like not updating after async
`display' changes.

* src/buffer.c (Fbuffer_modified_p): Allow returning whether the
buffer has been autosaved after changes.
(Frestore_buffer_modified_p): Allow adjusting whether the buffer
has been autosaved after changes.

* src/fileio.c (Fdo_auto_save): Refill the doc string.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Pacify some --without-x byte-compiler warnings.</title>
<updated>2022-05-07T17:18:51+00:00</updated>
<author>
<name>Basil L. Contovounesios</name>
</author>
<published>2022-05-07T17:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ca3e3c947192e97f2c494ac12a26ff0d259f0459'/>
<id>ca3e3c947192e97f2c494ac12a26ff0d259f0459</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow inserting and selecting binary blobs from sqlite</title>
<updated>2022-04-28T12:58:53+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-04-28T12:58:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5d032f2904d4604110e24eb3ae0daf8f7701d72f'/>
<id>5d032f2904d4604110e24eb3ae0daf8f7701d72f</id>
<content type='text'>
* doc/lispref/text.texi (Database): Document how to insert binary
data.
* src/sqlite.c (bind_values): Bind BLOB columns correctly (bug#54591).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/text.texi (Database): Document how to insert binary
data.
* src/sqlite.c (bind_values): Bind BLOB columns correctly (bug#54591).
</pre>
</div>
</content>
</entry>
<entry>
<title>Support (encode-time (list s m h D M Y))</title>
<updated>2022-04-25T19:40:20+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2022-04-25T18:56:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d75e2c12ebbc7a758d1c24d30685e790b703eb64'/>
<id>d75e2c12ebbc7a758d1c24d30685e790b703eb64</id>
<content type='text'>
* src/timefns.c (Fencode_time): Add support for a 6-elt list arg.
Requested by Max Nikulin for Org (bug#54764).
* test/src/timefns-tests.el (encode-time-alternate-apis): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/timefns.c (Fencode_time): Add support for a 6-elt list arg.
Requested by Max Nikulin for Org (bug#54764).
* test/src/timefns-tests.el (encode-time-alternate-apis): New test.
</pre>
</div>
</content>
</entry>
</feed>
