all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: What are invisible frames for?
Date: Thu, 22 Apr 2021 14:15:03 +0200	[thread overview]
Message-ID: <bcb67596-a061-663d-e029-46686136fa24@gmx.at> (raw)
In-Reply-To: <YIFLRsawLKHiXqGg@ACM>

 > So, to determine how these MBs should be handled, it would be very
 > useful to understand what invisible frames are used for.

I'm using a minibuffer child frame which is invisible most of the time.
It becomes visible and reparented to the selected frame whenever I want
to talk to it.  Also, I have `tooltip-reuse-hidden-frame' non-nil which
means that my tooltip frame is invisible whenever it's not used.

In general, creating a new frame is expensive when you have many faces
defined (it takes up to two GC cycles here) so temporarily hiding and
reusing an existing frame is very useful for people on slower systems
like mine.

Finally note that during frame creation a frame is invisible until most
of its parameters have been processed to avoid that users have to watch
the various resizing steps and other visible changes participating in
that process.

martin



  reply	other threads:[~2021-04-22 12:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 10:09 What are invisible frames for? Alan Mackenzie
2021-04-22 12:15 ` martin rudalics [this message]
2021-04-22 13:18   ` Stefan Monnier
2021-04-22 21:23     ` Clément Pit-Claudel
2021-04-22 14:13   ` Alan Mackenzie
2021-04-22 16:09     ` [External] : " Drew Adams
2021-04-22 12:31 ` Stefan Monnier
2021-04-22 13:54   ` Michael Welsh Duggan
2021-04-22 14:08     ` Stefan Monnier
2021-04-22 14:13     ` Eli Zaretskii
2021-04-22 14:14 ` tumashu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bcb67596-a061-663d-e029-46686136fa24@gmx.at \
    --to=rudalics@gmx.at \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.