emacs-devel
[Top][All Lists]
Advanced

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

Re: Question about üarent-frame changes


From: Gerd Möllmann
Subject: Re: Question about üarent-frame changes
Date: Wed, 18 Sep 2024 17:22:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Robert Pluim <rpluim@gmail.com> writes:

>     martin> Reparenting is useful because you can set up one child frame for 
> some
>     martin> special purpose, make it invisible when you don't need it, and 
> move it
>     martin> to another frame and make it visible there whenever you want to.  
> On
>     martin> GUIs, this approach has the advantage that you can avoid the (at 
> least
>     martin> here) costly process of setting up frame faces every time anew.  
> Emacs
>     martin> tooltips do that by default and I recall that showing a tooltip 
> every
>     martin> time incurred two entire GC cycles here.
>
> Would setting up frame faces be that expensive on tty? Iʼd really love
> to have tty child frames, even if they were not blazingly fast.

>From what I've seen so far, it's pretty fast, but OTOH my machine is
pretty fast (M1 pro). Let's see how it does when I'm a bit further. At
least hiding frames on ttys should be there before I can really try it
with posframe. Maybe also moving/resizing also.

> In any case, I took a quick look at "posframe", it doesnʼt do any
> reparenting that I can see.

Thanks! Corfu doesn't re-parent either, AFAICT. That are the two I care
about :-).



reply via email to

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