[Top][All Lists]

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

Re: mouse-autoselect-window with menu pane

From: YAMAMOTO Mitsuharu
Subject: Re: mouse-autoselect-window with menu pane
Date: Mon, 18 Sep 2006 22:39:38 +0900 (JST)

>>>>> On Mon, 18 Sep 2006 11:46:05 +0100, "Marshall, Simon" <address@hidden> 
>>>>> said:

>> 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...

Increment of the counter is suspended during the file dialog/menu
operation.  And after the operation, the timer fires multiple times
continuously until the counter catches up the value that it would be
if no file dialog/menu were activated.

                                     YAMAMOTO Mitsuharu

reply via email to

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