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: Gerd Möllmann
Subject: Re: Question about minibuffer and child frames (Posframe)
Date: Tue, 08 Oct 2024 08:31:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Feng Shu <tumashu@163.com> writes:

> 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!

Thanks! 👍



reply via email to

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