<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs, branch scratch/exec-byte-code</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>Disable -Wclobbered around exec_byte_code (bug#79610)</title>
<updated>2025-10-17T11:07:45+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2025-10-17T11:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b66680ad32e280b3c4286a9abfef8df5ff566ed0'/>
<id>b66680ad32e280b3c4286a9abfef8df5ff566ed0</id>
<content type='text'>
* src/bytecode.c (exec_byte_code):
The old hack for working around spurious -Wclobbered warnings from GCC
no longer suffices; disable the warning locally.
This also makes the code slightly smaller and faster.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/bytecode.c (exec_byte_code):
The old hack for working around spurious -Wclobbered warnings from GCC
no longer suffices; disable the warning locally.
This also makes the code slightly smaller and faster.
</pre>
</div>
</content>
</entry>
<entry>
<title>; exec_byte_code: refactor branch case</title>
<updated>2025-10-16T17:27:18+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2025-10-16T15:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=37ff7a05f3e5af4d570db1b3ed4d4aa2190f70f5'/>
<id>37ff7a05f3e5af4d570db1b3ed4d4aa2190f70f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>exec_byte_code: use fixed registers for top and pc (bug#79610)</title>
<updated>2025-10-16T17:27:17+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2025-10-08T16:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f4e3fce9ea80973269d24b7179ae2ad2cbff83d0'/>
<id>f4e3fce9ea80973269d24b7179ae2ad2cbff83d0</id>
<content type='text'>
GCC seems to have difficulty allocating important global interpreter
variables in registers; telling it which ones to use for 'top' and 'pc'
makes a big difference and seems to ease pressure enough for it to
deal with other variables as well.

We do it for AMD64 and ARM64.  Clang doesn't seem to need these directives.
It does result in -Wclobbered warnings that seem difficult to silence.

* src/bytecode.c (BC_REG_TOP, BC_REG_PC): New.
(exec_byte_code): Use them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC seems to have difficulty allocating important global interpreter
variables in registers; telling it which ones to use for 'top' and 'pc'
makes a big difference and seems to ease pressure enough for it to
deal with other variables as well.

We do it for AMD64 and ARM64.  Clang doesn't seem to need these directives.
It does result in -Wclobbered warnings that seem difficult to silence.

* src/bytecode.c (BC_REG_TOP, BC_REG_PC): New.
(exec_byte_code): Use them.
</pre>
</div>
</content>
</entry>
<entry>
<title>; exec_byte_code: don't re-use op in FETCH2</title>
<updated>2025-10-16T17:27:17+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2025-09-23T13:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8d6d4a9856f010519abeed503249e172625e9da5'/>
<id>8d6d4a9856f010519abeed503249e172625e9da5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>exec_byte_code: reduce use of semi-global 'op' (bug#79610)</title>
<updated>2025-10-16T17:27:17+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2025-09-22T16:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=58a5a1f0988790b94bf08cfa73864427a698ef64'/>
<id>58a5a1f0988790b94bf08cfa73864427a698ef64</id>
<content type='text'>
* src/bytecode.c (exec_byte_code):
Re-type op from int to ptrdiff_t, which avoids some useless conversions.
Reduce its use by using local variables for intra-block use,
and another variable (arg) where it doesn't need to be alive across
instruction dispatch.  We also eliminate it where performance doesn't
matter by re-fetching it from the instruction stream.

All this should help the register allocator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/bytecode.c (exec_byte_code):
Re-type op from int to ptrdiff_t, which avoids some useless conversions.
Reduce its use by using local variables for intra-block use,
and another variable (arg) where it doesn't need to be alive across
instruction dispatch.  We also eliminate it where performance doesn't
matter by re-fetching it from the instruction stream.

All this should help the register allocator.
</pre>
</div>
</content>
</entry>
<entry>
<title>; elisp-scope.el: Standardize copyright notice.</title>
<updated>2025-10-16T17:21:09+00:00</updated>
<author>
<name>Eshel Yaron</name>
</author>
<published>2025-10-16T17:20:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=888a910bc9a840ea8007abe04d610b66e8de56db'/>
<id>888a910bc9a840ea8007abe04d610b66e8de56db</id>
<content type='text'>
Suggested by Arash Esbati &lt;arash@gnu.org&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggested by Arash Esbati &lt;arash@gnu.org&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Return case common to all completions in try-completion</title>
<updated>2025-10-16T17:18:23+00:00</updated>
<author>
<name>Spencer Baugh</name>
</author>
<published>2025-09-03T12:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=17ac50ea9e105527753722b508ca44c58cbc892f'/>
<id>17ac50ea9e105527753722b508ca44c58cbc892f</id>
<content type='text'>
When completion-ignore-case is non-nil, if all completions share
a common prefix ignoring case, try-completion has always
returned that.  Now, if all completions also share a common
prefix including case, try-completion includes that common
prefix in its return value (bug#79377).

* lisp/minibuffer.el (completion-pcm--merge-completions): Always
use return value from try-completion, which may change case.
* src/minibuf.c (Ftry_completion): Return the common prefix
which changes case.
* test/lisp/minibuffer-tests.el (completion-pcm-bug4219)
(completion-substring-test-5): New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When completion-ignore-case is non-nil, if all completions share
a common prefix ignoring case, try-completion has always
returned that.  Now, if all completions also share a common
prefix including case, try-completion includes that common
prefix in its return value (bug#79377).

* lisp/minibuffer.el (completion-pcm--merge-completions): Always
use return value from try-completion, which may change case.
* src/minibuf.c (Ftry_completion): Return the common prefix
which changes case.
* test/lisp/minibuffer-tests.el (completion-pcm-bug4219)
(completion-substring-test-5): New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve color contrast of refine-related diff faces on dark backgrounds</title>
<updated>2025-10-16T17:05:41+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2025-10-16T17:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b0078bfa15029a2072bd762e32f472031700fe18'/>
<id>b0078bfa15029a2072bd762e32f472031700fe18</id>
<content type='text'>
* lisp/vc/diff-mode.el (diff-refine-removed, diff-refine-added):
* lisp/vc/ediff-init.el (ediff-fine-diff-A, ediff-fine-diff-B):
* lisp/vc/smerge-mode.el (smerge-refined-removed, smerge-refined-added):
Lower the dominant component of RGB colors from "aa" to "88" (bug#79633).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/diff-mode.el (diff-refine-removed, diff-refine-added):
* lisp/vc/ediff-init.el (ediff-fine-diff-A, ediff-fine-diff-B):
* lisp/vc/smerge-mode.el (smerge-refined-removed, smerge-refined-added):
Lower the dominant component of RGB colors from "aa" to "88" (bug#79633).
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/treesit.el: Small fixes in navigation functions.</title>
<updated>2025-10-16T16:40:21+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2025-10-16T16:40:21+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bbbad934981cb9b8bf840c6c16301f8091363e70'/>
<id>bbbad934981cb9b8bf840c6c16301f8091363e70</id>
<content type='text'>
(treesit-up-list): Better handle multi-language buffers.
(treesit-hs-find-next-block): Fix off-by-one error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(treesit-up-list): Better handle multi-language buffers.
(treesit-hs-find-next-block): Fix off-by-one error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update VC-Dir contents upon revert-buffer</title>
<updated>2025-10-16T16:19:43+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-10-16T16:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=208241aa83820ce154b918ccb1044838f4fe6fbf'/>
<id>208241aa83820ce154b918ccb1044838f4fe6fbf</id>
<content type='text'>
* lisp/vc/vc-hooks.el (vc-after-revert): New function.
(after-revert-hook): Add it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-hooks.el (vc-after-revert): New function.
(after-revert-hook): Add it.
</pre>
</div>
</content>
</entry>
</feed>
