[Top][All Lists]

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

RE: mouse-autoselect-window

From: Drew Adams
Subject: RE: mouse-autoselect-window
Date: Thu, 6 Sep 2007 09:37:09 -0700

>  > Not sure I understand.
>  >
>  > 1. That does not select a window in another frame if you move
>  >    the mouse to it, regardless of the setting of
>  >    focus-follows-mouse (on MS Windows).
> It should when you set `focus-follows-mouse' to non-nil and you have
> tweaked the registry of Windows appropriately.

Ah, you didn't mention that. So that means that you need to do this for all
applications, not just Emacs? That's too bad.

>  > 2. It doesn't change the behavior of window selection within
>  >    the same frame (on MS Windows).
> Hopefully not!
>  > On MS Windows, focus-follows-mouse has no effect. (So that
>  > sentence should also not be removed from the doc.)
> The sentence would have been wrong after the bug got fixed.  But Jason
> removed it already.

See my reply to Jason.

>  > I think your fix might be needed for GNU/Linux etc. - I don't
>  > know. Looking at it, it makes sense. But it does not address
>  > any issues I raised, AFAICT.
> Did you apply it?  If not, please do and try to reproduce your problem.

Of course I did. However, I have not "tweaked the registry". As you didn't
mention the registry, I expected it to change the behavior for Emacs - and
only Emacs, with no registry hacking.

>  > BTW (did I mention this?) - the doc string for
>  > focus-follows-mouse should say that it is about frames, not about
>  > focus in windows (which might be in the same frame).
> The doc string doesn't talk about windows, it talks about window sytems
> and window managers.  The crucial part of it is the second sentence:
>      You should set this variable to tell Emacs how your window manager
>      handles focus, since there is no way in general for Emacs to find out
>      automatically.

I repeat that the doc string should mention that this option is about frame
focus. And it should say that (apparently) the (only?) effect is that it
makes the mouse follow the frame focus, by moving the mouse to whatever
frame has the focus. None of this is clear from the doc string.

reply via email to

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