emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What are invisible frames for?


From: Stefan Monnier
Subject: Re: What are invisible frames for?
Date: Thu, 22 Apr 2021 10:08:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I know that "emacs --daemon" creates a frame that isn't displayed.  I
> don't know if that frame is an "invisible frame" by this definition, but
> I thought I'd mention it, just in case.

No, that frame is yet different: it's "visible" but it's in a "dummy
terminal" not connected to any GUI and not even a tty (it's initially
connected to the stdin/stdout, tho, so `message` gets output to stdout,
for example.  It's the same dummy terminal that's used when Emacs runs
in batch mode).

BTW there are yet more forms of "invisible" frames: those frames that
are displayed on terminals that the user cannot currently see
(e.g. connected to a $DISPLAY that's in a different physical location).

This is relevant in the sense that when a minibuffer is on a frame
that's connected to display to which the user doesn't currently have
access, it can make Emacs unusable.  For this reason, `server.el` calls
`top-level` sometimes.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]