1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-09 09:16:02 -08:00
emacs/etc
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
..
charsets
e
forms Use lexical-binding in forms.el example files 2020-04-25 07:59:28 +02:00
gnus
images
nxml
org
refcards Remove mention of C-u M-. from the refcards 2020-09-18 00:20:38 +02:00
schema Recover the contents of the schemas.xml file 2020-11-01 14:01:31 +01:00
srecode Add and remove backslashes in regexps 2020-02-20 16:03:30 +01:00
themes ; Prefer https to http in more URLs 2020-10-24 20:23:27 +02:00
tutorials Merge from origin/emacs-27 2020-10-27 08:24:56 -07:00
AUTHORS ; Update etc/AUTHORS 2020-08-04 21:32:04 +02:00
CALC-NEWS
ChangeLog.1 ; Fix trivial typos in ChangeLogs 2020-10-03 12:53:51 +02:00
compilation.txt ; Fix more typos 2020-10-03 12:53:51 +02:00
COPYING
DEBUG ; bug#39779: Fix some typos in documentation. 2020-02-28 15:21:55 +02:00
DEVEL.HUMOR
DISTRIB
edt-user.el * etc/edt-user.el: Use lexical-binding. 2020-04-24 11:48:25 +02:00
emacs-buffer.gdb
emacs-mail.desktop Fix broken desktop file 2020-08-06 17:45:09 +02:00
emacs.appdata.xml
emacs.desktop
emacs.icon
emacs.service Partially revert previous patch to emacs.service 2020-10-13 05:48:13 +02:00
emacsclient.desktop Improve client/daemon xdg/systemd experience 2020-08-09 15:57:51 +02:00
enriched.txt
ERC-NEWS
ETAGS.EBNF
ETAGS.README
future-bug
gnus-tut.txt
grep.txt
HELLO * etc/HELLO: Enlarge tab-width to account for "tofu". 2020-10-31 16:05:03 +02:00
HISTORY * etc/HISTORY: Update the Emacs 27.1 release date. 2020-08-04 21:41:07 +02:00
JOKES
MACHINES Simplify Solaris port 2020-08-05 17:38:41 -07:00
MH-E-NEWS
NEWS Allow minibuffer to stay in its original frame. Tidy up this area. 2020-11-05 19:27:43 +00:00
NEWS.1-17 ; Fix more trivial typos 2020-09-21 15:32:46 +02:00
NEWS.18
NEWS.19
NEWS.20
NEWS.21
NEWS.22 Consistently stylize eldoc as ElDoc in prose 2020-07-10 15:22:27 +01:00
NEWS.23 Consistently stylize eldoc as ElDoc in prose 2020-07-10 15:22:27 +01:00
NEWS.24
NEWS.25 * etc/NEWS.25: Belatedly announce upcase-dwim and downcase-dwim. 2020-05-27 14:09:23 -04:00
NEWS.26
NEWS.27 Merge from origin/emacs-27 2020-11-02 09:27:40 -08:00
NEXTSTEP ; Prefer https to http in more URLs 2020-10-24 20:23:27 +02:00
NXML-NEWS
ORG-NEWS
package-keyring.gpg
PROBLEMS Fix SVG image dimension calculations (bug#44065) 2020-10-22 20:05:59 +01:00
ps-prin0.ps
ps-prin1.ps
publicsuffix.txt Update publicsuffix.txt from upstream 2020-10-11 15:09:55 +02:00
README
rgb.txt
ses-example.ses
spook.lines
TERMS
TODO ; Prefer https to http in more URLs 2020-10-24 20:23:27 +02:00
w32-feature.el Fix error in GMP test 2020-08-24 22:44:21 +01:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2020 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)