From: Eli Zaretskii <eliz@gnu.org>
To: Van L <van@scratch.space>
Cc: 31975@debbugs.gnu.org
Subject: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect
Date: Tue, 26 Jun 2018 18:54:51 +0300 [thread overview]
Message-ID: <83h8lpr19w.fsf@gnu.org> (raw)
In-Reply-To: <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> (message from Van L on Wed, 27 Jun 2018 01:26:45 +1000)
> From: Van L <van@scratch.space>
> Date: Wed, 27 Jun 2018 01:26:45 +1000
> Cc: 31975@debbugs.gnu.org
>
> > this is outside of Emacs, right?
>
> There is the chance of the following call to work, no?
>
> `defaults write org.gnu.Emacs FocusFollowsMouse -bool true`
>
> If not, why not one day in the far off distant future.
Sorry, I cannot parse that. Too dense today, I guess.
> From what I can tell "M-x report-emacs-bug” needs
> email set in Emacs and a look at Gnus involves putting
> cleartext password on a one line setting
No, it doesn't. One of the options offered when you are about to send
is to use your system's mailclient.
> >> #+NAME: `M-x customize` Mouse Autoselect Window
> >> #+BEGIN_EXAMPLE
> >> Non-nil means autoselect window with mouse pointer. Hide
> >> If nil, do not autoselect windows.
> >> A positive number means delay autoselection by that many seconds: a
> >> window is autoselected only after the mouse has remained in that
> >> window for the duration of the delay.
> >> A negative number has a similar effect, but causes windows to be
> >> autoselected only after the mouse has stopped moving. (Because of
> >> the way Emacs compares mouse events, you will occasionally wait twice
> >> that time before the window gets selected.)
> >> Any other value means to autoselect window instantaneously when the
> >> mouse pointer enters it.
> >>
> >> Autoselection selects the minibuffer only if it is active, and never
> >> unselects the minibuffer if it is active.
> >>
> >> When customizing this variable make sure that the actual value of
> >> ‘focus-follows-mouse’ matches the behavior of your window manager.
> >>
> >> #+END_EXAMPLE
> >
> > And how is this part relevant?
>
> It is the setting that takes no effect
> the perceived bug that does not work as
> expected and desired, which is the cause
> for this bug#31975 report.
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.
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.
Thanks.
next prev parent reply other threads:[~2018-06-26 15:54 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 [this message]
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
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=83h8lpr19w.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=31975@debbugs.gnu.org \
--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.