From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83h8lpr19w.fsf@gnu.org> References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1530028388 2361 195.159.176.226 (26 Jun 2018 15:53:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2018 15:53:08 +0000 (UTC) Cc: 31975@debbugs.gnu.org To: Van L Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 17:53:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXqH9-0000Wd-Uj for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2018 17:53:04 +0200 Original-Received: from localhost ([::1]:53541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXqJH-0006Hs-EB for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2018 11:55:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXqJ7-0006Fv-E4 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 11:55:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXqJ4-0002pB-8z for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 11:55:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXqJ4-0002ow-4x for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 11:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXqJ3-0004NU-UB for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 11:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jun 2018 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31975-submit@debbugs.gnu.org id=B31975.153002849916817 (code B ref 31975); Tue, 26 Jun 2018 15:55:01 +0000 Original-Received: (at 31975) by debbugs.gnu.org; 26 Jun 2018 15:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:36440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXqJ1-0004NB-Ia for submit@debbugs.gnu.org; Tue, 26 Jun 2018 11:54:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXqJ0-0004My-7g for 31975@debbugs.gnu.org; Tue, 26 Jun 2018 11:54:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXqIr-0002hA-Tb for 31975@debbugs.gnu.org; Tue, 26 Jun 2018 11:54:53 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXqIr-0002h0-PL; Tue, 26 Jun 2018 11:54:49 -0400 Original-Received: from [176.228.60.248] (port=3288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fXqIr-0000gw-77; Tue, 26 Jun 2018 11:54:49 -0400 In-reply-to: <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> (message from Van L on Wed, 27 Jun 2018 01:26:45 +1000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147841 Archived-At: > From: Van L > 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.