emacs-devel
[Top][All Lists]
Advanced

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

Re: "Final" version of tty child frames


From: Gerd Möllmann
Subject: Re: "Final" version of tty child frames
Date: Sun, 12 Jan 2025 06:26:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> martin rudalics <rudalics@gmx.at> writes:
>
>> and emacs -Q -nw do C-l followed by M-l and C-l.  That is, make a child
>> frame, switch to it and make it invisible.  This leaves the point (bar)
>> cursor in the middle of the normal, root frame in an area where there's
>> no text and you cannot really move it anywhere.  'xterm-mouse-mode' can
>> help me out but this might not be available everywhere.
>>
>> Any ideas?
>
> The bar cursor must have been put where it is by redisplay. If the root
> has no text where the bar cursor is, it must have been the display of
> the child. Maybe the bar is still in the invisible child?
>
> That would fit with the fact that you can move the bar to the root frame
> with the mouse IIUC, which should mean that C-x 5 o probably also works.
>
> I suspect make-frame-invisible has to do something. Do we have to
> change selected-frame maybe? Or something like that?
>
> Please tell if you'd like me to take a look at this. I'm away for the
> rest of the evening, so it would have to wait 'til tomorrow, alas.

I've pulled now, and I can reproduce it here. Some observations.

After C-l M-l the child frame is no longer visible, but the bar cursor
is.

  M-: (frame-visible-p tty-child-frame)
  => t.

That looks to me like something in the visibility department did not
work, or worked only temporarily and was reverted (?). Which can also be
seen with M-x redraw-display.

ATM, I don't see where that could happen. Please let me know when you
find something out.




reply via email to

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