emacs-devel
[Top][All Lists]
Advanced

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

Re: x-autoselect-window


From: Eli Zaretskii
Subject: Re: x-autoselect-window
Date: Sat, 16 Feb 2002 21:10:48 +0200

> From: address@hidden (Gerd Moellmann)
> Date: 16 Feb 2002 19:25:10 +0100
> 
> > Is it possible that the frame-based redisplay needs something else?
> 
> I don't think so.  The frame- vs. window-based thing should play a
> role only in the display update phase, i.e., after glyph matrices
> for windows have been built.  This case sounds more as if matrices for
> some windows haven't been built.

More digging reveals that redisplay isn't called.  Once it _is_ called
(e.g., by just waiting for about 2 minutes, to let the sit-for in the
command loop to do its thing), the selected window is correctly
updated.

What drives me crazy is that "C-x o", which basically just calls
Fselect_window, does cause redisplay to be called.  The only
difference between "C-x o" and the code I'm debugging is that "C-x o"
produces an input event, while the code I'm looking into does not.
Does that ring a bell perhaps?

> It might also be interesting to look at the trace
> output that Emacs prints when built with -DGLYPH_DEBUG and turned on
> with M-x trace-redisplay.

I didn't try that, but I bet it will show redisplay isn't called.  I
put a breakpoint in redisplay_internal, and it wasn't hit until 2
minutes or so later.



reply via email to

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