all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Feng Shu <tumashu@163.com>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: martin rudalics <rudalics@gmx.at>,  Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Question about minibuffer and child frames (Posframe)
Date: Tue, 08 Oct 2024 13:42:27 +0800	[thread overview]
Message-ID: <87y12zqhfg.fsf@163.com> (raw)
In-Reply-To: <m24j5n89yg.fsf@gmail.com> ("Gerd Möllmann"'s message of "Tue, 08 Oct 2024 07:01:11 +0200")

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	other threads:[~2024-10-08  5:42 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02 12:50 Question about minibuffer and child frames (Posframe) Gerd Möllmann
2024-10-02 13:39 ` Po Lu
2024-10-02 13:52   ` Gerd Möllmann
2024-10-02 14:56 ` martin rudalics
2024-10-02 15:47   ` Gerd Möllmann
2024-10-02 16:08     ` martin rudalics
2024-10-02 17:17       ` Gerd Möllmann
2024-10-02 17:34         ` martin rudalics
2024-10-02 18:48           ` Gerd Möllmann
2024-10-03  7:35             ` Gerd Möllmann
2024-10-03  8:26               ` martin rudalics
2024-10-03  9:07                 ` Gerd Möllmann
2024-10-03  9:33                   ` martin rudalics
2024-10-03  9:50                     ` Gerd Möllmann
2024-10-03 13:12                       ` martin rudalics
2024-10-03 14:03                         ` Gerd Möllmann
2024-10-04  7:24                           ` Gerd Möllmann
2024-10-04  8:10                             ` martin rudalics
2024-10-04  9:16                               ` Gerd Möllmann
2024-10-04  9:31                                 ` martin rudalics
2024-10-04  9:55                                   ` Gerd Möllmann
2024-10-05  8:31                                     ` Gerd Möllmann
2024-10-02 18:43         ` Eli Zaretskii
2024-10-02 18:56           ` Gerd Möllmann
2024-10-07  1:08 ` Feng Shu
2024-10-07  4:28   ` Gerd Möllmann
2024-10-07  6:43     ` Feng Shu
2024-10-07  8:00       ` Gerd Möllmann
2024-10-07  8:17         ` Feng Shu
2024-10-07  8:32           ` Gerd Möllmann
2024-10-07 10:03             ` Feng Shu
2024-10-07 10:46               ` Gerd Möllmann
2024-10-07 13:44                 ` martin rudalics
2024-10-07 14:29                   ` Gerd Möllmann
2024-10-07 21:45                     ` Feng Shu
2024-10-08  4:19                       ` Gerd Möllmann
2024-10-08  5:01                         ` Gerd Möllmann
2024-10-08  5:42                           ` Feng Shu [this message]
2024-10-08  6:31                             ` Gerd Möllmann
2024-10-08 13:06                           ` Gerd Möllmann
2024-10-07  8:35         ` martin rudalics
2024-10-07  8:46           ` Gerd Möllmann
2024-10-07  8:52             ` martin rudalics
2024-10-07  9:12               ` Gerd Möllmann
2024-10-07 10:11                 ` Feng Shu
2024-10-07 10:36                   ` Gerd Möllmann
2024-10-07 12:12                     ` Feng Shu
2024-10-07 12:24                       ` Gerd Möllmann
2024-10-07 13:44                 ` martin rudalics
2024-10-07 14:24                   ` Gerd Möllmann
2024-10-07  8:35       ` martin rudalics
2024-10-07  9:46         ` Feng Shu
2024-10-07  7:20     ` Feng Shu
2024-10-07  8:12       ` Gerd Möllmann
2024-10-11  8:03         ` Gerd Möllmann
2024-10-07  8:34   ` martin rudalics
2024-10-07  9:35     ` Feng Shu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y12zqhfg.fsf@163.com \
    --to=tumashu@163.com \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.