all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: van@scratch.space, 31975@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <83a7rgqnvx.fsf@gnu.org> (raw)
In-Reply-To: <5B333E04.5070003@gmx.at> (message from martin rudalics on Wed, 27 Jun 2018 09:34:28 +0200)

> Date: Wed, 27 Jun 2018 09:34:28 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: 31975@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.





  reply	other threads:[~2018-06-27 14:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-26  7:13 bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect Van L
2018-06-26 14:40 ` Eli Zaretskii
2018-06-26 15:26   ` Van L
2018-06-26 15:54     ` Eli Zaretskii
2018-06-27  4:49       ` Van L
2018-06-27 14:50         ` Eli Zaretskii
2018-06-28  6:03           ` Van L
2018-06-27  7:34       ` martin rudalics
2018-06-27 14:56         ` Eli Zaretskii [this message]
2018-06-28 10:40           ` Van L
2018-06-28 12:59             ` Eli Zaretskii
2018-06-28 13:05               ` Van L
2018-06-28 18:24                 ` Alan Third
2021-10-20  2:08 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-20 20:26   ` Alan Third
2021-10-21  3:13     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a7rgqnvx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=31975@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    --cc=van@scratch.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.