1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
emacs/doc/emacs
Alan Mackenzie 2ecbf4cfae Allow minibuffer to stay in its original frame. Tidy up this area.
* doc/emacs/mini.texi (Basic Minibuffer): Add an entry for
minibuffer-follows-selected-frame.

* doc/lispref/minibuf.texi (Minibuffer Misc): Describe the new parameter to
minibufferp, LIVE.

* etc/NEWS: Add an entry describing the new minibuffer strategy.

* lisp/cus-start.el (minibuffer-prompt-properties--setter): Add an entry for
minibuffer-follows-selected-frame.

* lisp/minibuffer.el (minibuffer-message): Check for the current buffer being
an _active_ minibuffer rather than merely a minibuffer.

* src/frame.c (do_switch_frame): Call move_minibuffer_onto_frame.

* src/lisp.h (Top level): Add prototypes for move_minibuffer_onto_frame and
is_minibuffer.

* src/minibuf.c (minibuf_follows_frame): New function which ignores local and
let-bound values of minibuffer-follows-selected-frame.
(choose_minibuf_frame): Reformulate this function to reuse a minibuffer window
where possible, and to ensure no other frame has its minibuffer current, but
only when `minibuffer-follows-selected-frame'.
(move_minibuffer_onto_frame): New function.
(live_minibuffer_p): New function.
(Fminibufferp): Add a new &optional parameter LIVE.  Reformulate, possibly
calling live_minibuffer_p.
(read_minibuf): move the incrementation of minibuf_level to before the call of
choose_minibuf_frame.  Empty the miniwindows of frames without an active
minibuffer, rather than of all but the current frame.
(is_minibuffer): New function.
(read_minibuf_unwind): Note the miniwindow being restored and resize all other
miniwindows to zero size.
(minibuffer-follows-selected-frame): New configuration variable.

* src/window.c (candidate_window_p): In some scenarios, check the miniwindow
holds an active minibuffer.

* src/xdisp.c (get_window_cursor_type): Suppress the cursor for non-active
miniwindows, regardless of minibuf_level.
2020-11-05 19:27:43 +00:00
..
abbrevs.texi Improve documentation of the 'abbrev-suggest' feature 2020-09-27 08:57:17 +03:00
ack.texi ; * doc/emacs/ack.texi (Acknowledgments): Tweak the purpose description. 2020-10-16 18:42:22 +03:00
anti.texi ; spelling fixes 2020-01-17 14:24:15 -08:00
arevert-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
basic.texi * doc/emacs/basic.texi (Basic Undo): Explain the C-/ situation in xterm 2020-09-30 19:08:47 -04:00
buffers.texi Document use of uniquify-buffer-name-style as a function. 2020-09-15 16:12:54 +02:00
building.texi Make C-x C-e' work more like C-M-x' on defvar etc 2020-10-15 16:26:45 +02:00
cal-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
calendar.texi Rename recent calendar user option 2020-08-12 11:30:16 +01:00
ChangeLog.1 ; Fix some trivial typos 2020-09-21 15:04:55 +02:00
cmdargs.texi Documentation followup to the last change 2020-06-20 11:31:19 +03:00
commands.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
custom.texi ; * doc/emacs/custom.texi (Keymaps): Fix typo. 2020-11-01 14:46:22 +00:00
dired-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired.texi Minor documentation copyedits 2020-09-30 19:38:55 +03:00
display.texi * src/xdisp.c (syms_of_xdisp) <"scroll-minibuffer-conservatively">: New var 2020-10-31 09:07:53 -04:00
doclicense.texi
docstyle.texi * doc/emacs/docstyle.texi: Avoid messing up the html output. 2018-07-02 22:37:22 -07:00
emacs-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.texi Merge from origin/emacs-27 2020-09-27 09:37:10 -07:00
emacsver.texi.in
emerge-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
entering.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
files.texi Add a new command to regenerate a hunk in diff-mode 2020-10-30 14:04:06 +01:00
fixit.texi Document ispell comment/string checking commands in the user manual 2020-08-26 13:19:46 +02:00
fortran-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
frames.texi Horizontal mouse wheel scrolling amount (bug#43568) 2020-11-03 21:06:11 +02:00
glossary.texi Improve the documentation of tab-bar and tab-line 2020-04-21 02:23:35 +03:00
gnu.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gpl.texi
help.texi Add a reference to the shortdoc command in the Emacs manual 2020-10-12 00:07:58 +02:00
indent.texi Add a new variable tab-first-completion 2020-10-14 07:26:58 +02:00
killing.texi Mention C-y in the manual for yanking the primary selection 2020-08-05 12:51:10 +02:00
kmacro.texi Fix description of kmacro-* commands in the user manual 2020-07-24 17:47:59 +03:00
m-x.texi * etc/NEWS: Move M-x suggest-key-bindings to "Editing Changes" section. 2020-01-31 01:01:02 +02:00
macos.texi NS port documentation updates 2020-03-07 14:41:47 +00:00
maintaining.texi Merge from origin/emacs-27 2020-09-27 09:37:10 -07:00
Makefile.in Prefer saying "Info manual" to "info page" in docs 2020-01-23 14:44:27 +01:00
mark.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mini.texi Allow minibuffer to stay in its original frame. Tidy up this area. 2020-11-05 19:27:43 +00:00
misc.texi Add new tab command `C-x t C-r' 2020-09-20 11:36:52 +02:00
modes.texi Consistently stylize eldoc as ElDoc in prose 2020-07-10 15:22:27 +01:00
msdos-xtra.texi Add missing full stop in MS-DOS processes documentation 2020-10-06 03:44:07 +02:00
msdos.texi * doc/emacs/msdos.texi (Windows Keyboard): Fix xref. 2020-04-13 08:59:05 -07:00
mule.texi Improve documentation of a recent commit 2020-11-02 19:49:32 +02:00
package.texi Add command package-menu-filter-upgradable 2020-10-19 20:30:52 +02:00
picture-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
programs.texi Allow disabling the verbose eldoc truncation message 2020-09-21 14:15:39 +02:00
regs.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rmail.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
screen.texi Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
search.texi Highlight regexp sub-expressions in query-replace 2020-10-14 11:56:23 +03:00
sending.texi Fix last changes describing mail commands 2020-04-12 21:47:52 +03:00
text.texi Fix documentation of Outline cycling commands 2020-10-13 19:39:11 +03:00
trouble.texi Implement a new `submit-emacs-patch' command 2020-09-09 12:59:33 +02:00
vc-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vc1-xtra.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
windows.texi Bind 'C-x 4 1' to 'same-window-prefix' and document new commands (bug#41691) 2020-07-01 00:30:18 +03:00
xresources.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00