[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about minibuffer and child frames (Posframe)
From: |
Gerd Möllmann |
Subject: |
Re: Question about minibuffer and child frames (Posframe) |
Date: |
Thu, 03 Oct 2024 16:03:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
martin rudalics <rudalics@gmx.at> writes:
>> I can only guess that that is part of how the `minibuffer' frame
>> parameter is supposed to work, but I really have no ideda. The Elisp
>> manual simply says
>>
>> If the value is a minibuffer window (in some other frame), the
>> frame uses that minibuffer.
>
> If the posframe uses its own minibuffer window as value, then this would
> probably work. store_frame_param would set the parameter value to t in
> that case as follows
>
> else if (FRAME_HAS_MINIBUF_P (f))
> {
> if (EQ (val, FRAME_MINIBUF_WINDOW (f)))
> val = Qt;
>
> You would have to verify via
>
> (frame-parameter posframe 'minibuffer)
Thanks, that was an interesting hint. I'll try that maybe tomorrow.
I found something interesting too. I forgot to call window-list on the
posframe in a way that it includes mini-windows. When I fix that
I see that the GUI posframe has 1 window, but the tty posframe has 2,
one of which is a mini-window.
Whatever the effect of that is overall, it explains why the posframes
and the Corfu frames are consistently 1 line too tall. Nice!
- Re: Question about minibuffer and child frames (Posframe), (continued)
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/03
- Re: Question about minibuffer and child frames (Posframe),
Gerd Möllmann <=
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), martin rudalics, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/04
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/05
- Re: Question about minibuffer and child frames (Posframe), Eli Zaretskii, 2024/10/02
- Re: Question about minibuffer and child frames (Posframe), Gerd Möllmann, 2024/10/02
Re: Question about minibuffer and child frames (Posframe), Feng Shu, 2024/10/06