[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-autoselect-window
From: |
Stephen Berman |
Subject: |
Re: mouse-autoselect-window |
Date: |
Fri, 07 Sep 2007 11:16:44 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
On Fri, 07 Sep 2007 10:53:45 +0200 martin rudalics <address@hidden> wrote:
>> I don't understand what you mean by "autoselection should continue
>> looping", nor what harm it doesn't cause.
>
> When window is nil this should mean that the mouse-pointer was not
> hovering over one of Emacs' windows.
When I have seen window being nil in edebug, the mouse-pointer was
hovering over an Emacs window, AFAICT. Unfortunately, the nil value
is sporadic, I don't know how to induce it (when, as I believe was the
case, the mouse-pointer is over an Emacs window).
> In this case I continue
> mouse-tracking until the mouse-pointer reenters a window (a similar
> scenario applies when the mouse-pointer is over the scroll-bar). In any
> of these cases window selection shouldn't occur.
Perhaps the mouse-pointer was indeed over the scroll-bar, or maybe the
tool bar or menu bar, is it the same with these, too? I will take
another look at this.
>> Too bad, I often find edebug really helpful. Oh well, guess I just
>> have to dirty my hands more with the code :-)
>
> What we have to find out is whether it stays within the
> mouse-autoselect-window code and, for example, issues multiple calls of
> `select-window' in `handle-select-window' (this would be a bug in the
> implementation of `mouse-autoselect-window-state') or it already left
> the mouse-autoselect-window code and `select-window' doesn't DTRT here.
I will try to do this sometime today, time permitting.
Steve Berman
- Re: mouse-autoselect-window, (continued)
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/06
- Re: mouse-autoselect-window, martin rudalics, 2007/09/06
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/06
- Re: mouse-autoselect-window, martin rudalics, 2007/09/07
- RE: mouse-autoselect-window, Drew Adams, 2007/09/07
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/07
- Re: mouse-autoselect-window, Robert J. Chassell, 2007/09/07
- Re: mouse-autoselect-window, martin rudalics, 2007/09/07
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/07
- Re: mouse-autoselect-window, martin rudalics, 2007/09/07
- Re: mouse-autoselect-window,
Stephen Berman <=
- Re: mouse-autoselect-window, martin rudalics, 2007/09/07
- Re: mouse-autoselect-window, Stefan Monnier, 2007/09/06
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/06
- Re: mouse-autoselect-window, martin rudalics, 2007/09/18
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/18
- Re: mouse-autoselect-window, martin rudalics, 2007/09/18
- Re: mouse-autoselect-window, Stephen Berman, 2007/09/18
- RE: mouse-autoselect-window, Drew Adams, 2007/09/18
- Re: mouse-autoselect-window, martin rudalics, 2007/09/18
- RE: mouse-autoselect-window, Drew Adams, 2007/09/18