emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: No refresh of buffer before popup-menu


From: Lennart Borgman (gmail)
Subject: Re: No refresh of buffer before popup-menu
Date: Thu, 22 Feb 2007 09:59:25 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

martin rudalics wrote:
 > Because your model of what happens is incorrect.  The menu is
 > processed in its entirety by the Windows menu-handling API, and Emacs
 > never sees anything until the menu is popped down.

In Lennart's example there are _two_ menus.  The one popped by
`temp-test1' and the other popped by `temp-test2'.  In between he does

(insert ";; SOME STRING 2\n")

which should get displayed before popping up the second menu.  Lennart's
problem is that `sit-for' doesn't redisplay because `input-pending-p'
returns non-nil.

Thanks. Yes, that is correct. And (sit-for n) just returns immediately whatever n is.




reply via email to

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