[Top][All Lists]
[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".
- Re: mouse-autoselect-window with menu pane, (continued)
RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/19
Re: mouse-autoselect-window with menu pane, martin rudalics, 2006/09/19
- Re: mouse-autoselect-window with menu pane, Richard Stallman, 2006/09/22
- Re: mouse-autoselect-window with menu pane, martin rudalics, 2006/09/23
- Re: mouse-autoselect-window with menu pane, Richard Stallman, 2006/09/23
- Re: mouse-autoselect-window with menu pane, Chong Yidong, 2006/09/25
- Re: mouse-autoselect-window with menu pane, Richard Stallman, 2006/09/25
RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/19
RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/20