]> git.eshelyaron.com Git - emacs.git/commit
Further amendments of child frame handling and documentation
authorMartin Rudalics <rudalics@gmx.at>
Wed, 26 Mar 2025 08:04:49 +0000 (09:04 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 27 Mar 2025 10:12:36 +0000 (11:12 +0100)
commit7cc0be4e74c52335736453c399faf76a6e2ce74f
tree13cb8afffb33bc40afa155a15cbbf5272a47c24a
parentac479364ed5913b5f0b3e8f136107e3a50b846a9
Further amendments of child frame handling and documentation

* src/frame.c (frame_subsumes_p): New static function
(delete_frame): On ttys refuse to delete a frame that could be
used as surrogate minibuffer frame by surviving frames.
(store_frame_param): Make sure 'minibuffer' parameter does not
reference a deleted window.  If on a tty it references a live
window, make sure its frame has the same root frame as the frame
where the parameter shall be installed.  Also on ttys make sure
that storing the 'parent-frame' parameter does not assign a
surrogate minibuffer frame a different root frame than that of
any of its client frames.  Further on ttys assert that making a
child a new root frame gives it the dimensions of the terminal.
(Fmouse_position_in_root_frame): Don't use XFRAME before
it's clear that FRAME is a frame.
* doc/lispref/elisp.texi (Top): Add menu for Child Frames section.
* doc/lispref/frames.texi (Buffer Parameters): Mention that
value 'child-frame' is not special for 'minibuffer' parameter on
text terminals.
(Visibility of Frames): Fix description of 'iconify-frame'.
(Raising and Lowering): 'minibuffer-auto-raise' is an option.
(Child Frames): Major rewrite using subsections.  Explain new
and deviant features on text terminals - menu bar access,
reparenting, deleting, visibility and minibuffer-only child
frames.
* etc/NEWS: Remove remark that child frames cannot be
arbitrarily reparented on ttys.

(cherry picked from commit 001359ce7650c1ec110b4c38b6f67274d2d29ad1)
doc/lispref/elisp.texi
doc/lispref/frames.texi
src/frame.c