> If the purpose is to know if some menu is *currently* active, then the > function will DTRT because Lisp evaluation never happens during menu > selection on Mac.
Does that apply to popups too? For example, what do you see with: (setq foo 0) (defun foo () (message "%d" (setq foo (1+ foo)))) (setq bar (run-with-timer 1 1 'foo)) ;(cancel-timer bar) and File > Open Directory... For me, the counter continues to increment while the open directory gui popup is active (though I have to move the mouse around to see the counter redisplayed). The same is true if I just open a menu (I don't have to move the mouse to see it). >From what I understand from you, on Mac, the counter will pause until you exit the popup (or close the menu). It will then continue from where it paused. Simon. _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
