<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/minibuf.c, branch scratch/pkg</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>Completion experiments</title>
<updated>2023-12-11T08:28:47+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-11T08:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=434b1d656c91c658762102405b0dadd4fea16085'/>
<id>434b1d656c91c658762102405b0dadd4fea16085</id>
<content type='text'>
* src/pkg.c (pkg_symbol_completion_string, pkg_strip_package_prefix):
New functions.
(init_pkg_once): Add QCsymbol.
* src/lisp.h: Declare new functions.
* src/minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
Use new functions.
* lisp/simple.el (execute-extended-command): Use read-from-string
instead of intern-soft to determine command function for the case it
has a package prefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/pkg.c (pkg_symbol_completion_string, pkg_strip_package_prefix):
New functions.
(init_pkg_once): Add QCsymbol.
* src/lisp.h: Declare new functions.
* src/minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
Use new functions.
* lisp/simple.el (execute-extended-command): Use read-from-string
instead of intern-soft to determine command function for the case it
has a package prefix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Symbol-name, intern* with additional arg"</title>
<updated>2023-08-02T11:25:22+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-08-02T11:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0bd06a1e37ffab8fb08af0347b606960a125576b'/>
<id>0bd06a1e37ffab8fb08af0347b606960a125576b</id>
<content type='text'>
This reverts commit e66106378d954902ab34d190b5c7e6f49323a3c1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e66106378d954902ab34d190b5c7e6f49323a3c1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into scratch/pkg</title>
<updated>2023-07-17T06:40:02+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-07-17T06:40:02+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7cc9727d6b0298db267b33d3aebb5f00ec94b56a'/>
<id>7cc9727d6b0298db267b33d3aebb5f00ec94b56a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid errors in completion due to 'completion-regexp-list'</title>
<updated>2023-07-02T06:16:58+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2023-07-02T06:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=37ed3d15f38339400eba67647c87fad85de3a384'/>
<id>37ed3d15f38339400eba67647c87fad85de3a384</id>
<content type='text'>
* doc/lispref/minibuf.texi (Basic Completion):
* src/minibuf.c (syms_of_minibuf) &lt;completion-regexp-list&gt;:
Document that global non-nil settings of 'completion-regexp-list'
are not safe.

* lisp/minibuffer.el (completion-pcm--merge-completions): Avoid
errors in 'try-completion' when PREFIX is nil.  (Bug#64351)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/minibuf.texi (Basic Completion):
* src/minibuf.c (syms_of_minibuf) &lt;completion-regexp-list&gt;:
Document that global non-nil settings of 'completion-regexp-list'
are not safe.

* lisp/minibuffer.el (completion-pcm--merge-completions): Avoid
errors in 'try-completion' when PREFIX is nil.  (Bug#64351)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug#64152 (Minibuffer sometimes goes "modal")</title>
<updated>2023-06-21T14:23:14+00:00</updated>
<author>
<name>Alan Mackenzie</name>
</author>
<published>2023-06-21T14:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4ca371e9cc7178572cc25cbe47371c0075405ff7'/>
<id>4ca371e9cc7178572cc25cbe47371c0075405ff7</id>
<content type='text'>
In particular, when a frame has no minibuffer and is using that
of a different "normal" frame, C-x 5 o, etc., and GUI
operations fail.

Fix by partially reverting the commit from 2022-07-07 15:38:09
+0000 "Remove obscure, obsolete code from do_switch_frame".  As
a consequent change, also revert the commit from 2022-07-08
20:19:03 +0000 "Remove now unused parameter TRACK from
do_switch_frame".

* src/frame.c (do_switch_frame): Restore the TRACK parameter.
Restore the code which redirects the frame focus when a new
frame gets selected.

* src/frame.c (Fselect_frame, Fhandle_switch_frame)
(delete_frame)
* src/keyboard.c (quit_throw_to_read_char)
* src/lisp.h (do_switch_frame prototype)
* src/minibuf.c (read_minibuf_unwind)
* src/window.c (Fset_window_configuration): Restore the TRACK
argument to do_switch_frame.

* src/xterm.c (x_try_restore_frame): Add a zero TRACK argument
to do_switch_frame.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In particular, when a frame has no minibuffer and is using that
of a different "normal" frame, C-x 5 o, etc., and GUI
operations fail.

Fix by partially reverting the commit from 2022-07-07 15:38:09
+0000 "Remove obscure, obsolete code from do_switch_frame".  As
a consequent change, also revert the commit from 2022-07-08
20:19:03 +0000 "Remove now unused parameter TRACK from
do_switch_frame".

* src/frame.c (do_switch_frame): Restore the TRACK parameter.
Restore the code which redirects the frame focus when a new
frame gets selected.

* src/frame.c (Fselect_frame, Fhandle_switch_frame)
(delete_frame)
* src/keyboard.c (quit_throw_to_read_char)
* src/lisp.h (do_switch_frame prototype)
* src/minibuf.c (read_minibuf_unwind)
* src/window.c (Fset_window_configuration): Restore the TRACK
argument to do_switch_frame.

* src/xterm.c (x_try_restore_frame): Add a zero TRACK argument
to do_switch_frame.
</pre>
</div>
</content>
</entry>
<entry>
<title>After minibuffer action, don't make the minibuffer current</title>
<updated>2023-06-17T16:14:14+00:00</updated>
<author>
<name>Alan Mackenzie</name>
</author>
<published>2023-06-17T16:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=90c03ffcd4b3744ae149dcede9179b0cbf9d7547'/>
<id>90c03ffcd4b3744ae149dcede9179b0cbf9d7547</id>
<content type='text'>
This fixes bug#63967.

* src/minibuf.c (minibuffer_unwind): After restoring the next
minibuffer outwards to the mini window (when
enable-recursive-minibuffers is non-nil), don't call
Fset_frame_selected_window, which used to set the current
window to be the mini window.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes bug#63967.

* src/minibuf.c (minibuffer_unwind): After restoring the next
minibuffer outwards to the mini window (when
enable-recursive-minibuffers is non-nil), don't call
Fset_frame_selected_window, which used to set the current
window to be the mini window.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Add 2023 to copyright years.</title>
<updated>2023-01-01T10:31:12+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2023-01-01T10:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cae528457cb862dc886a34240c9d4c73035b6659'/>
<id>cae528457cb862dc886a34240c9d4c73035b6659</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Symbol-name, intern* with additional arg</title>
<updated>2022-12-31T08:24:47+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2022-12-31T08:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e66106378d954902ab34d190b5c7e6f49323a3c1'/>
<id>e66106378d954902ab34d190b5c7e6f49323a3c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into feature/pkg</title>
<updated>2022-10-25T08:31:23+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2022-10-25T08:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b5099948bcb9bc363ee8b1d9858417b20b032299'/>
<id>b5099948bcb9bc363ee8b1d9858417b20b032299</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for minibuf-tests</title>
<updated>2022-10-21T14:57:20+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2022-10-21T14:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=715c76f3c6c62b36ded138715e7e26e04a134c14'/>
<id>715c76f3c6c62b36ded138715e7e26e04a134c14</id>
<content type='text'>
This was a remnant of a time when I made obarrays packages.

* src/minibuf.c (Ftry_completion): Handle case collection being obarray.
(Fall_completions): Same.
(Ftest_completion): And same again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was a remnant of a time when I made obarrays packages.

* src/minibuf.c (Ftry_completion): Handle case collection being obarray.
(Fall_completions): Same.
(Ftest_completion): And same again.
</pre>
</div>
</content>
</entry>
</feed>
