emacs-devel
[Top][All Lists]
Advanced

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

Re: GNU Emacs raison d'etre


From: martin rudalics
Subject: Re: GNU Emacs raison d'etre
Date: Tue, 19 May 2020 10:41:02 +0200

>>   > 1. It's trivial to move a minibuffer-only frame
>>   > off screen (and bring it back on screen).
>>
>> Not in my experience.  Not even for arbitrary frames.
>
> I think it is, at least on MS Windows, and I think
> on other OSes also.

It's up to the respective window manager to decide that.

> Hm.  I've checked only with my setup.  Maybe
> something else is going on there.
>
> (progn (make-frame-invisible
>           (window-frame (minibuffer-window)))
>         (pp-eval-expression
>           (frame-parameter nil 'visibility) t))
>
> tells me `t', with my setup.  And the frame
> stays visible.

The minibuffer frame does not _stay_ visible.  It becomes visible again
because it is supposed to display the result of 'pp-eval-expression' in
the minibuffer.

If you use the correct form - nil stands for the selected frame which is
not the minibuffer-only frame, 'pp-eval-expression' allows one argument
only -

(progn (make-frame-invisible
         (window-frame (minibuffer-window)))
       (pp-eval-expression
        (window-frame (minibuffer-window))))

it will tell you nil, as expected.

martin



reply via email to

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