GNU bug report logs - #31975
Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect

Previous Next

Package: emacs;

Reported by: Van L <van <at> scratch.space>

Date: Tue, 26 Jun 2018 07:15:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 31975 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: van <at> scratch.space, 31975 <at> debbugs.gnu.org
Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window
 (point-to-focus) has no effect
Date: Wed, 27 Jun 2018 17:56:18 +0300
> Date: Wed, 27 Jun 2018 09:34:28 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: 31975 <at> debbugs.gnu.org
> 
>  > But the above has no relation to focus-follows-mouse.
>  > mouse-autoselect-window works when the Emacs frame already has focus,
>  > and it selects one window on that frame by tracking mouse movements
>  > above the frame.  (Yes, I know that the last sentence makes it sound
>  > like the two features are related, but that is only true on some
>  > systems.  E.g., here focus-follows-mouse is nil, the default, whereas
>  > the window manager is configured to give focus to the frame where
>  > mouse is; and yet mouse-autoselect-window does work.
> 
> I tried to clarify the doc-string.  Please have a look.

LGTM, thanks.

>  > So I think you should set mouse-autoselect-window to t, move the mouse
>  > between windows, then show the output of "C-h l".  Then we might have
>  > some hint wrt what's going on.
> 
> If this doesn't help, the OP could try to debug mouseMoved in
> nsterm.c.  It might also help to enable nstrace to find out whether
> there are any mouse_autoselect_window related messages and what they
> say.

It sounds like the window-manager is not configured to have focus
follow mouse.




This bug report was last modified 3 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.