emacs-devel
[Top][All Lists]
Advanced

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

Re: Question about minibuffer and child frames (Posframe)


From: Feng Shu
Subject: Re: Question about minibuffer and child frames (Posframe)
Date: Tue, 08 Oct 2024 13:42:27 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>
>> Could be this in frame_windows_min_size:
>>
>>   /* Don't allow too small height of text-mode frames, or else cm.c
>>      might abort in cmcheckmagic.  */
>>   if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) && NILP (horizontal))
>>     {
>>       int min_height = (FRAME_MENU_BAR_LINES (f)
>>                      + FRAME_TAB_BAR_LINES (f)
>>                      + FRAME_WANTS_MODELINE_P (f)
>>                      + 2);   /* one text line and one echo-area line */
>>
>> --------------------------^^^
>>
>>       if (retval < min_height)
>>      retval = min_height;
>>     }
>
> I've pushed a fix that takes into account that frames without
> mini-windows now exist on ttys. Works for me with your example. Could
> you please confirm, Feng Shu?

Tested, works well now!


>
>> Must find out something else firwt though. With master pulled today
>> C-x o errors with "no next window". But of course not with -q and not
>> right from the beginning but caused by something unknown 👀.
>
> FWIW workaround: Use windmove with windmove-allow-all-windows set to t
> :-/. Hope someone fixes that soon.

-- 




reply via email to

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