<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs, branch scratch/static_assert</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>Prefer static_assert to verify</title>
<updated>2024-07-23T22:11:37+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2024-07-23T22:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e25655756315ac398d15b308511a8e9abf20bb0e'/>
<id>e25655756315ac398d15b308511a8e9abf20bb0e</id>
<content type='text'>
Although static_assert is C11-specific, and Emacs remains on C99, it
has been backported to older compilers by Gnulib.  Gnulib has already
changed to prefer static_assert, and we can do the same.

* lib-src/asset-directory-tool.c (main_2):
* src/alloc.c (BLOCK_ALIGN, aligned_alloc, lisp_align_malloc)
(vectorlike_nbytes, allocate_pseudovector):
* src/android.c (android_globalize_reference, android_set_dashes):
* src/android.h:
* src/androidfont.c (androidfont_draw, androidfont_text_extents):
* src/androidvfs.c:
* src/bidi.c (BIDI_CACHE_MAX_ELTS_PER_SLOT)
(bidi_find_bracket_pairs):
* src/buffer.c (init_buffer_once):
* src/casefiddle.c (do_casify_multibyte_string):
* src/dispnew.c (scrolling_window, scrolling):
* src/editfns.c (styled_format):
* src/emacs-module.c (module_extract_big_integer):
* src/fileio.c (Fdo_auto_save):
* src/fns.c (next_almost_prime, hash_string):
* src/fringe.c (init_fringe):
* src/keyboard.h (kbd_buffer_store_event_hold):
* src/keymap.c:
* src/lisp.h (u, memclear, reduce_emacs_uint_to_hash_hash)
(modiff_incr):
* src/lread.c (skip_lazy_string):
* src/pdumper.c (dump_bignum, Fdump_emacs_portable)
(dump_do_dump_relocation, pdumper_load):
* src/process.c (make_process, Fmake_process)
(connect_network_socket):
* src/regex-emacs.c:
* src/sort.c (tim_sort):
* src/sysdep.c (init_random, SSIZE_MAX):
* src/thread.c:
* src/timefns.c (trillion_factor):
* src/unexelf.c:
* src/xterm.c (x_send_scroll_bar_event): Prefer static_assert to Gnulib
verify.  Remove import of verify.h, except when used for other reasons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although static_assert is C11-specific, and Emacs remains on C99, it
has been backported to older compilers by Gnulib.  Gnulib has already
changed to prefer static_assert, and we can do the same.

* lib-src/asset-directory-tool.c (main_2):
* src/alloc.c (BLOCK_ALIGN, aligned_alloc, lisp_align_malloc)
(vectorlike_nbytes, allocate_pseudovector):
* src/android.c (android_globalize_reference, android_set_dashes):
* src/android.h:
* src/androidfont.c (androidfont_draw, androidfont_text_extents):
* src/androidvfs.c:
* src/bidi.c (BIDI_CACHE_MAX_ELTS_PER_SLOT)
(bidi_find_bracket_pairs):
* src/buffer.c (init_buffer_once):
* src/casefiddle.c (do_casify_multibyte_string):
* src/dispnew.c (scrolling_window, scrolling):
* src/editfns.c (styled_format):
* src/emacs-module.c (module_extract_big_integer):
* src/fileio.c (Fdo_auto_save):
* src/fns.c (next_almost_prime, hash_string):
* src/fringe.c (init_fringe):
* src/keyboard.h (kbd_buffer_store_event_hold):
* src/keymap.c:
* src/lisp.h (u, memclear, reduce_emacs_uint_to_hash_hash)
(modiff_incr):
* src/lread.c (skip_lazy_string):
* src/pdumper.c (dump_bignum, Fdump_emacs_portable)
(dump_do_dump_relocation, pdumper_load):
* src/process.c (make_process, Fmake_process)
(connect_network_socket):
* src/regex-emacs.c:
* src/sort.c (tim_sort):
* src/sysdep.c (init_random, SSIZE_MAX):
* src/thread.c:
* src/timefns.c (trillion_factor):
* src/unexelf.c:
* src/xterm.c (x_send_scroll_bar_event): Prefer static_assert to Gnulib
verify.  Remove import of verify.h, except when used for other reasons.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/isearch.el: Exit Isearch after deleting the frame (bug#41338).</title>
<updated>2024-07-23T18:00:23+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2024-07-23T18:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=19a18e487b8e2f0c1627b9cc98e601327e884eb2'/>
<id>19a18e487b8e2f0c1627b9cc98e601327e884eb2</id>
<content type='text'>
(isearch-mode): Add 'isearch-done' to 'delete-frame-functions'.
(isearch-done): Remove 'isearch-done' from 'delete-frame-functions'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(isearch-mode): Add 'isearch-done' to 'delete-frame-functions'.
(isearch-done): Remove 'isearch-done' from 'delete-frame-functions'.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/isearch.el: Preserve original value of overriding-terminal-local-map.</title>
<updated>2024-07-23T17:51:43+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2024-07-23T17:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6760cedc5e0e8dc2a49d3d13e54f5f153df5a3d0'/>
<id>6760cedc5e0e8dc2a49d3d13e54f5f153df5a3d0</id>
<content type='text'>
(isearch--saved-local-map): New variable (bug#72229).
(isearch-mode): Set isearch--saved-local-map to
overriding-terminal-local-map.
(isearch-done): Set overriding-terminal-local-map back to
isearch--saved-local-map.
(isearch-mouse-2): Let-bind overriding-terminal-local-map to
isearch--saved-local-map.
(isearch-done): Move comment intended to be docstring to docstring.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(isearch--saved-local-map): New variable (bug#72229).
(isearch-mode): Set isearch--saved-local-map to
overriding-terminal-local-map.
(isearch-done): Set overriding-terminal-local-map back to
isearch--saved-local-map.
(isearch-mouse-2): Let-bind overriding-terminal-local-map to
isearch--saved-local-map.
(isearch-done): Move comment intended to be docstring to docstring.
</pre>
</div>
</content>
</entry>
<entry>
<title>Better reproduce mouse event coalescence during touch event translation</title>
<updated>2024-07-23T12:44:06+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-07-23T12:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f521235656040dbae8406682976233f771c0c81c'/>
<id>f521235656040dbae8406682976233f771c0c81c</id>
<content type='text'>
* lisp/touch-screen.el (touch-screen-handle-touch): Save the
confines of the current mouse glyph before initiating simple
translation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/touch-screen.el (touch-screen-handle-touch): Save the
confines of the current mouse glyph before initiating simple
translation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't highlight matches in dired query-replace commands</title>
<updated>2024-07-23T06:37:39+00:00</updated>
<author>
<name>Visuwesh</name>
</author>
<published>2024-07-17T03:41:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cc6324d9dca662ea0ca9439411f4852b85e18986'/>
<id>cc6324d9dca662ea0ca9439411f4852b85e18986</id>
<content type='text'>
* lisp/dired-aux.el (dired-do-query-replace-regexp)
(dired-do-replace-regexp-as-diff)
(dired-do-find-regexp-and-replace): Turn off lazy highlighting
when reading the regexp from the user to avoid highlighting
regexp matches in the dired buffer. (bug#72147)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/dired-aux.el (dired-do-query-replace-regexp)
(dired-do-replace-regexp-as-diff)
(dired-do-find-regexp-and-replace): Turn off lazy highlighting
when reading the regexp from the user to avoid highlighting
regexp matches in the dired buffer. (bug#72147)
</pre>
</div>
</content>
</entry>
<entry>
<title>* src/comp.c (obj_to_reloc): Use eassume.</title>
<updated>2024-07-23T02:07:39+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2024-07-23T02:03:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1519c758a5a62b10f355097b066f4b88d3762bc4'/>
<id>1519c758a5a62b10f355097b066f4b88d3762bc4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use SBYTES instead of strlen in treesit.c</title>
<updated>2024-07-22T10:21:25+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2024-07-22T10:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d995429e7bc2bc5b5d87db45dbbaca121f8118e5'/>
<id>d995429e7bc2bc5b5d87db45dbbaca121f8118e5</id>
<content type='text'>
* src/treesit.c (treesit_ensure_query_compiled)
(Ftreesit_node_child_by_field_name, treesit_initialize_query):
Use SBYTES instead of strlen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/treesit.c (treesit_ensure_query_compiled)
(Ftreesit_node_child_by_field_name, treesit_initialize_query):
Use SBYTES instead of strlen.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prohibit unbinding of built-in variables</title>
<updated>2024-07-22T01:56:08+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-07-22T01:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=da0165a01e01dcb4334feee03b462ac09ceb0f8c'/>
<id>da0165a01e01dcb4334feee03b462ac09ceb0f8c</id>
<content type='text'>
* src/data.c (set_internal): Signal error if a BLV with a
redirect or a forwarded symbol is being unbound.

* test/src/data-tests.el (binding-test-makunbound-built-in): New
test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/data.c (set_internal): Signal error if a BLV with a
redirect or a forwarded symbol is being unbound.

* test/src/data-tests.el (binding-test-makunbound-built-in): New
test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix segfault when deleting tree-sitter query (bug#72238)</title>
<updated>2024-07-21T23:51:59+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2024-07-21T23:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4868a17396b6796b77285a3608b383aac32aee4f'/>
<id>4868a17396b6796b77285a3608b383aac32aee4f</id>
<content type='text'>
* src/treesit.c (treesit_delete_query): Only delete query and cursor
when they are non-NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/treesit.c (treesit_delete_query): Only delete query and cursor
when they are non-NULL.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add link to commit compatibility function handles</title>
<updated>2024-07-21T12:56:52+00:00</updated>
<author>
<name>Theodor Thornhill</name>
</author>
<published>2024-07-21T12:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ccb856189f483abfaa584f428b09a863f816a040'/>
<id>ccb856189f483abfaa584f428b09a863f816a040</id>
<content type='text'>
* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--indent-compatibility-b893426): Add link to GitHub.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--indent-compatibility-b893426): Add link to GitHub.
</pre>
</div>
</content>
</entry>
</feed>
