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

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

Re: mouse-autoselect-window with menu pane


From: martin rudalics
Subject: Re: mouse-autoselect-window with menu pane
Date: Sat, 23 Sep 2006 16:53:32 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Richard Stallman schrieb:
>     I agree that one-shot timers are generally better.  But when I tried to
>     implement a one-shot timer for delayed autoselection, it occasionally
>     didn't trigger for some reason.  Maybe I should give it another try.
>
> Please do give it another try, because if reactivations get lost
> (other than due to an error occurring earlier in the timer function),
> that would seem to be a bug in Emacs.  If there is such a bug, we
> should track it down.  But first let's see if such a bug currently
> exists.
>
> Can you do that, then get back to me?

In the meantime, I was able to make this work with a one-shot timer that
reschedules itself.  Hence, I think there's no such bug.

FWIW, a possible sequence of events that triggered the problem on my
system goes as follows: The timer function runs `window-at' which, on
Windows, seems to break when the mouse is on a scroll-bar or on a menu
item.  Wrapping that `window-at' in a `condition-case' resolves the
problem for me.  Hence, apparently, the timer was not rescheduled due to
"an error occurring earlier in the timer function".





reply via email to

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