all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Question about minibuffer and child frames (Posframe)
Date: Thu, 03 Oct 2024 11:07:54 +0200	[thread overview]
Message-ID: <m2iku9ftat.fsf@MacBookPro.fritz.box> (raw)
In-Reply-To: <fd4841d4-df09-4986-b314-ab9c1701ed8e@gmx.at> (martin rudalics's message of "Thu, 3 Oct 2024 10:26:13 +0200")

martin rudalics <rudalics@gmx.at> writes:

>> Just FYI. when I manually select-frame-set-input-focus to the posframe,
>> the display looks okay. The cursor is shown in the posframe and the
>> parent's mini-window is empty, like in the GUI case.
>
> But the pos-frame based functions do call 'select-frame-set-input-focus'
> IIUC.  How else would they focus the child frame for user input?
>
>> Downside is that Emacs doesn't accept input anymore, and has to be
>> killed :-).
>
> That should be real fun to debug.
>
Yeah :-(.

But I think I understand a little bit better now how that posframe stuff
works. I was always convinced that the posframe had a mini-window
because I had seen before that it displays a minibuffer. But
window-minibuffer-p says no for the single window on the posframe.
Surprise, surprise. There is only one miniwindow, the one of the parent.

What Posframe does instead is adding a frame parameter (minibuffer .
MINI) where MINI is the minibuffer window of the parent. I guess that's
what is not working for ttys. Or something in its vicinity.

Haven't found out yet where and how that is done for GUIs. Something for
another day.




  reply	other threads:[~2024-10-03  9:07 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 [this message]
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
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=m2iku9ftat.fsf@MacBookPro.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=emacs-devel@gnu.org \
    --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.