[Top][All Lists]

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

Re: No refresh of buffer before popup-menu

From: Kim F. Storm
Subject: Re: No refresh of buffer before popup-menu
Date: Thu, 22 Feb 2007 20:28:54 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

"Lennart Borgman (gmail)" <address@hidden> writes:

> I have just tested and it works as I think it should. The window is
> refreshed between the two chained calls to popup-menu if I call
> (redisplay t) before the second popup-menu. BTW Is this the way to do
> it now instead of (sit-for 0)?

Yes.  If you want to be sure the display is updated, (redisplay t)
is the only way.

> But unfortunately the other bug (menu title corruption in the second
> popup-menu) is still there.

I looked at this too, but I don't see anything obvious that can
explain this.  Can somebody see what's wrong?

> This bug indeed looks a bit serious IMO. I have not been able to
> reproduce it clearly before, but with the test code I sent I see it
> every time.

I see it too (on W32).

> Another small problem seem to be that (sit-for n) still does not work
> if I call it before the second popup-menu. Is that a bug?

No.  There is no guarantee that sit-for will update the display.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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