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: martin rudalics
Subject: Re: Question about minibuffer and child frames (Posframe)
Date: Thu, 3 Oct 2024 15:12:13 +0200
User-agent: Mozilla Thunderbird

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

martin



reply via email to

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