From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 03:14:16 2018 Received: (at submit) by debbugs.gnu.org; 26 Jun 2018 07:14:16 +0000 Received: from localhost ([127.0.0.1]:35577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXiB5-0002cX-Vl for submit@debbugs.gnu.org; Tue, 26 Jun 2018 03:14:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXiB3-0002cK-RV for submit@debbugs.gnu.org; Tue, 26 Jun 2018 03:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXiAx-0003em-Mo for submit@debbugs.gnu.org; Tue, 26 Jun 2018 03:14:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXiAx-0003eg-I2 for submit@debbugs.gnu.org; Tue, 26 Jun 2018 03:14:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXiAw-0002Ic-D3 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 03:14:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXiAt-0003d3-84 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 03:14:06 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:33735) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXiAt-0003VV-0j for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 03:14:03 -0400 X-Originating-IP: 203.213.106.91 Received: from epi.local (203-213-106-91.static.tpgi.com.au [203.213.106.91]) (Authenticated sender: van@scratch.space) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E99EF1BF211 for ; Tue, 26 Jun 2018 07:13:54 +0000 (UTC) From: Van L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect Message-Id: Date: Tue, 26 Jun 2018 17:13:40 +1000 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) Hello, The customized setting for point-to-focus=20 has no effect. Maybe a tweak for Emacs is all you=20 need to point-to-focus as discussed=20 at stackoverflow. #+NAME: point-to-focus #+BEGIN_EXAMPLE = https://stackoverflow.com/questions/98310/focus-follows-mouse-plus-auto-ra= ise-on-mac-os-x defaults write com.apple.Terminal FocusFollowsMouse -bool true #+END_EXAMPLE #+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. =20 Autoselection selects the minibuffer only if it is active, and never unselects the minibuffer if it is active. =20 When customizing this variable make sure that the actual value of =E2=80=98focus-follows-mouse=E2=80=99 matches the behavior of your = window manager. #+END_EXAMPLE From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 10:40:52 2018 Received: (at 31975) by debbugs.gnu.org; 26 Jun 2018 14:40:52 +0000 Received: from localhost ([127.0.0.1]:36343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXp9I-0000aT-Da for submit@debbugs.gnu.org; Tue, 26 Jun 2018 10:40:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXp9G-0000aE-Bx for 31975@debbugs.gnu.org; Tue, 26 Jun 2018 10:40:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXp96-0008Rt-OD for 31975@debbugs.gnu.org; Tue, 26 Jun 2018 10:40:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXp96-0008Rn-KI; Tue, 26 Jun 2018 10:40:40 -0400 Received: from [176.228.60.248] (port=2523 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fXp96-0006QE-42; Tue, 26 Jun 2018 10:40:40 -0400 Date: Tue, 26 Jun 2018 17:40:43 +0300 Message-Id: <83k1qlr4pg.fsf@gnu.org> From: Eli Zaretskii To: Van L In-reply-to: (message from Van L on Tue, 26 Jun 2018 17:13:40 +1000) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Van L > Date: Tue, 26 Jun 2018 17:13:40 +1000 > > The customized setting for point-to-focus > has no effect. On macOS? Or in general? (And why doesn't this report include all the details collected by "M-x report-emacs-bug"?) > Maybe a tweak for Emacs is all you > need to point-to-focus as discussed > at stackoverflow. > > #+NAME: point-to-focus > #+BEGIN_EXAMPLE > https://stackoverflow.com/questions/98310/focus-follows-mouse-plus-auto-raise-on-mac-os-x > defaults write com.apple.Terminal FocusFollowsMouse -bool true > #+END_EXAMPLE AFAIU, this is outside of Emacs, right? > #+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? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 11:26:55 2018 Received: (at 31975) by debbugs.gnu.org; 26 Jun 2018 15:26:55 +0000 Received: from localhost ([127.0.0.1]:36409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXprr-0003hH-IG for submit@debbugs.gnu.org; Tue, 26 Jun 2018 11:26:55 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXpro-0003h5-Tp for 31975@debbugs.gnu.org; Tue, 26 Jun 2018 11:26:54 -0400 X-Originating-IP: 203.213.106.91 Received: from epi.local (203-213-106-91.static.tpgi.com.au [203.213.106.91]) (Authenticated sender: van@scratch.space) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9FD7F6001A; Tue, 26 Jun 2018 15:26:49 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect From: Van L In-Reply-To: <83k1qlr4pg.fsf@gnu.org> Date: Wed, 27 Jun 2018 01:26:45 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> References: <83k1qlr4pg.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3124) X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > On macOS? Emacs 26.1 NS port is on Apple Mac OS. > 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. =46rom what I can tell "M-x report-emacs-bug=E2=80=9D needs=20 email set in Emacs and a look at Gnus involves putting=20 cleartext password on a one line setting >=20 >> #+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. >>=20 >> Autoselection selects the minibuffer only if it is active, and = never >> unselects the minibuffer if it is active. >>=20 >> When customizing this variable make sure that the actual value of >> =E2=80=98focus-follows-mouse=E2=80=99 matches the behavior of your = window manager. >>=20 >> #+END_EXAMPLE >=20 > And how is this part relevant? It is the setting that takes no effect=20 the perceived bug that does not work as=20 expected and desired, which is the cause for this bug#31975 report. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 11:54:59 2018 Received: (at 31975) by debbugs.gnu.org; 26 Jun 2018 15:54:59 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 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 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 Date: Tue, 26 Jun 2018 18:54:51 +0300 Message-Id: <83h8lpr19w.fsf@gnu.org> From: Eli Zaretskii To: Van L In-reply-to: <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> (message from Van L on Wed, 27 Jun 2018 01:26:45 +1000) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 27 00:49:25 2018 Received: (at 31975) by debbugs.gnu.org; 27 Jun 2018 04:49:26 +0000 Received: from localhost ([127.0.0.1]:36761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fY2OT-0007KA-Ke for submit@debbugs.gnu.org; Wed, 27 Jun 2018 00:49:25 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fY2OS-0007K2-1s for 31975@debbugs.gnu.org; Wed, 27 Jun 2018 00:49:24 -0400 X-Originating-IP: 203.213.106.91 Received: from epi.local (203-213-106-91.static.tpgi.com.au [203.213.106.91]) (Authenticated sender: van@scratch.space) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 38000240006; Wed, 27 Jun 2018 04:49:25 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect From: Van L In-Reply-To: <83h8lpr19w.fsf@gnu.org> Date: Wed, 27 Jun 2018 14:49:16 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3124) X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sorry, I cannot parse that. In other words, to demonstrate to you,=20 how the desired and expected behavior=20 is configured, for example, for the Terminal app, I found and quoted what was needed to tell the window manager what to do. Also, not for use with the NS port, but x11 to a remote GNU Linux GNU Emacs, XQuartz=E2=80=99s X11 Preferences has a tick box for `Focus Follows Mouse`. I am asking for this behavior for the mouse on the NS port=E2=80=99s outer most windowing framing boxes with the horizontal traffic lights at the upper most left most corner. In use, I half full screen zoom two of those, arranged left and right, in the window manager. The mouse focus doesn=E2=80=99t follow Emacs=E2=80=99s frame arranged = left and right. `C-x o` does not skip among Emacs=E2=80=99s frame. The mouse focus does follow within the Emacs=E2=80=99s frame on the = right,=20 for example, when it is split horizontally to contain a top and bottom = elements. `C-x o` does skip among top and bottom elements. > you should set mouse-autoselect-window to t, move the mouse > between windows, then show the output of "C-h l=E2=80=9D. =20 `mouse-autoselect-window` is t; for the following #+BEGIN_EXAMPLE [next-line] [next-line] [next-line] [scroll-up-command] [scroll-up-command] [scroll-down-command] [scroll-down-command] [handle-select-window] [handle-switch-frame] [handle-switch-frame] C-h v [describe-variable] m [self-insert-command] o [self-insert-command] u [self-insert-command] s [self-insert-command] e [self-insert-command] [minibuffer-complete] a [self-insert-command] u [self-insert-command] t [self-insert-command] [minibuffer-complete] [minibuffer-complete-and-exit] C-h l [view-lossage] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] [handle-select-window] C-h l [view-lossage] [back] #+END_EXAMPLE Repetition of lines more than two were removed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 27 03:34:47 2018 Received: (at 31975) by debbugs.gnu.org; 27 Jun 2018 07:34:47 +0000 Received: from localhost ([127.0.0.1]:36817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fY4yV-0002y0-Ky for submit@debbugs.gnu.org; Wed, 27 Jun 2018 03:34:47 -0400 Received: from mout.gmx.net ([212.227.15.15]:43279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fY4yU-0002xn-01 for 31975@debbugs.gnu.org; Wed, 27 Jun 2018 03:34:46 -0400 Received: from [192.168.1.101] ([46.125.249.79]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MFuWk-1fLN8c2SJy-00Eu5F; Wed, 27 Jun 2018 09:34:36 +0200 Message-ID: <5B333E04.5070003@gmx.at> Date: Wed, 27 Jun 2018 09:34:28 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii , Van L Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> In-Reply-To: <83h8lpr19w.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:3BzUwzrUtijfGZcVXuRGKAxdzf5erJZK9hzu0HUHcFRAN9Mqfyb e/W5xtJ2rFg+EK4EUyYIHr6EGStgBvkCjTKrxxr8QOczeEIMeCXkL03FSBL93ye9QBJH8bm s+xvwaUdXHMPMGnRXcBbKt2Mx0wGjRm5NYZgTfp3fT6XgKoNpIo8U1opxIofdVMvppd1qQs y7wT1cZkkOESEHKb0WTig== X-UI-Out-Filterresults: notjunk:1;V01:K0:bG9LsueYZAM=:PhsOW+pIpD86A1+8YYXcv8 WwCW1jWPOBM3eGtv2KD7gQRcBsFt12jbE42YlBvMsCKu4YFHgwcpRJN/wGE8aHsMAZ348fnof C/pOyGH+Es6jH1oUvFgNKHrK9sRrC+LDfrkCdaPs+vzauVJ7suaQt33DV7qQBF+ZGmo7KjCVu yrI4n0xpD6O29fuNjb4O2SNkXw4K29fcSNPE1e9+roiiH+1TBqhIoAyln8WTtmS35+DkJZbv2 +7XsoE8xFJs+80T/S1+TfWXwZRM747Io1OvQt1mznULuM2O4TDty0jRRFR4GLJ/CCbnPMYAN7 UI0jKSx+QeNrwKIp9Mz7XRb5wn2n943V0xq2axdhQueRbRtZiuZ9xFavKxvUiKitRoXSX5kXA LD/6UjpCxBudxp42loZsTAysWSIN1EOY6JxSmIUEDGpMFtHMZwA0iGZiM52PfZEo8ScVWRP55 2STFH5IE3r8WJc+4MFeVaxPA+SOASQDX2tRM7xY8YDyDUmyWxB1HzduM+WRzRyXctJxiG/v8T sTl2pDbNeM+5F8yf79kzGTmk0CN0ROzwBF3xpdj5IeRlLhTv6t6QCp+v3F4w9Fb+IkXLgLy1C ndEyn/71nwoR4BzCpHpsZGLSiLQOIz+5cByLF1Gc/fW+dSuKyPdLOQkmDa7m9XtIpQcsxVJhd +2q8bR32mpkS51pdpKUWJygB2Rjdnjdt0C4AWmOq5G3VKMHwime5UQE29BvV8pJi1jsuf+Wr+ 3LpzqMu/jUxthrMbCDVpKvLb1PP8TdQVKM+aYhwd2eYo1dWq9o69ZsumU3dQon+m7jhU/NYMv TBrwFjm X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>> When customizing this variable make sure that the actual value o= f >>>> =E2=80=98focus-follows-mouse=E2=80=99 matches the behavior of yo= ur 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. I tried to clarify the doc-string. Please have a look. > 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. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 27 10:50:19 2018 Received: (at 31975) by debbugs.gnu.org; 27 Jun 2018 14:50:19 +0000 Received: from localhost ([127.0.0.1]:37794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYBlz-0000oD-7m for submit@debbugs.gnu.org; Wed, 27 Jun 2018 10:50:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYBly-0000o1-2q for 31975@debbugs.gnu.org; Wed, 27 Jun 2018 10:50:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYBlp-0006Eq-Ga for 31975@debbugs.gnu.org; Wed, 27 Jun 2018 10:50:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYBlp-0006Eg-CI; Wed, 27 Jun 2018 10:50:09 -0400 Received: from [176.228.60.248] (port=4008 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fYBlo-0007W4-RO; Wed, 27 Jun 2018 10:50:09 -0400 Date: Wed, 27 Jun 2018 17:50:12 +0300 Message-Id: <83efgsqo63.fsf@gnu.org> From: Eli Zaretskii To: Van L In-reply-to: (message from Van L on Wed, 27 Jun 2018 14:49:16 +1000) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Van L > Date: Wed, 27 Jun 2018 14:49:16 +1000 > Cc: 31975@debbugs.gnu.org > > In other words, to demonstrate to you, > how the desired and expected behavior > is configured, for example, for the > Terminal app, I found and quoted what > was needed to tell the window manager > what to do. OK, but I don't think it helps us solve this problem, except by telling that it should be possible, at least in principle. > Also, not for use with the NS port, > but x11 to a remote GNU Linux GNU Emacs, > XQuartz’s X11 Preferences has a tick box > for `Focus Follows Mouse`. I believe this is for the remote X, so gain not useful for the problem you have locally. > I am asking for this behavior for the mouse > on the NS port’s outer most windowing framing > boxes with the horizontal traffic lights at > the upper most left most corner. In use, I half full screen > zoom two of those, arranged left and right, in the window manager. Not sure I understand: are these 2 Emacs frames, or are these something else? > The mouse focus doesn’t follow Emacs’s frame arranged left and right. > `C-x o` does not skip among Emacs’s frame. Again, I'm not following: "C-x o" is not supposed to switch between frames, it switches between windows on the same frame (as I'm sure you know). > The mouse focus does follow within the Emacs’s frame on the right, > for example, when it is split horizontally to contain a top and bottom elements. > `C-x o` does skip among top and bottom elements. So mouse-autoselect-window does work between windows of the same frame, but doesn't work when you go to a window on another frame? If so, this is indeed a problem to solve with your window-manager, not with Emacs: you need to configure your window-manager so that it makes focus follow the mouse. Emacs cannot do that; its focus-follows-mouse variable is the means to tell Emacs, if necessary, that you have configured the window-manager that way, but setting that variable cannot force the window-manager to work that way. > `mouse-autoselect-window` is t; for the following > > #+BEGIN_EXAMPLE > [next-line] > [next-line] > [next-line] > [scroll-up-command] > [scroll-up-command] > [scroll-down-command] > [scroll-down-command] > [handle-select-window] > [handle-switch-frame] > [handle-switch-frame] > C-h v [describe-variable] > m [self-insert-command] > o [self-insert-command] > u [self-insert-command] > s [self-insert-command] > e [self-insert-command] > [minibuffer-complete] > a [self-insert-command] > u [self-insert-command] > t [self-insert-command] > [minibuffer-complete] > [minibuffer-complete-and-exit] > C-h l [view-lossage] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > [handle-select-window] > C-h l [view-lossage] I do see select-window here, so the feature is working. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 27 10:56:24 2018 Received: (at 31975) by debbugs.gnu.org; 27 Jun 2018 14:56:24 +0000 Received: from localhost ([127.0.0.1]:37798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYBrs-0000wr-1g for submit@debbugs.gnu.org; Wed, 27 Jun 2018 10:56:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYBrq-0000wf-SF for 31975@debbugs.gnu.org; Wed, 27 Jun 2018 10:56:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYBri-0005WB-B2 for 31975@debbugs.gnu.org; Wed, 27 Jun 2018 10:56:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYBri-0005W6-7E; Wed, 27 Jun 2018 10:56:14 -0400 Received: from [176.228.60.248] (port=4378 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fYBrh-000829-MG; Wed, 27 Jun 2018 10:56:14 -0400 Date: Wed, 27 Jun 2018 17:56:18 +0300 Message-Id: <83a7rgqnvx.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-reply-to: <5B333E04.5070003@gmx.at> (message from martin rudalics on Wed, 27 Jun 2018 09:34:28 +0200) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <5B333E04.5070003@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31975 Cc: van@scratch.space, 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Wed, 27 Jun 2018 09:34:28 +0200 > From: martin rudalics > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 28 02:03:19 2018 Received: (at 31975) by debbugs.gnu.org; 28 Jun 2018 06:03:19 +0000 Received: from localhost ([127.0.0.1]:38098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYQ1X-0003So-1l for submit@debbugs.gnu.org; Thu, 28 Jun 2018 02:03:19 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYQ1V-0003Sf-63 for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 02:03:17 -0400 X-Originating-IP: 203.213.106.91 Received: from epi.local (203-213-106-91.static.tpgi.com.au [203.213.106.91]) (Authenticated sender: van@scratch.space) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 717C740004; Thu, 28 Jun 2018 06:03:13 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect From: Van L In-Reply-To: <83efgsqo63.fsf@gnu.org> Date: Thu, 28 Jun 2018 16:03:09 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <83efgsqo63.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3124) X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> Terminal app, I found and quoted what >> was needed to tell the window manager >> what to do. >=20 > I don't think it helps us solve this problem >=20 > I believe this is for the remote X I believe the cases of Terminal app, XQuartz=20 prove it is possible. > are these 2 Emacs frames Yes, based on the UI experience on NS port creating a `new frame` which is selectable from the Emacs=E2=80=99s Icon=E2=80=99s context menu = emanating=20 from the Dock. > I'm not following: "C-x o" is not supposed to switch between > frames I included that as a test case to make distinct what is the=20 frame and window according to terms you use. > So mouse-autoselect-window does work between windows of the same > frame, but doesn't work when you go to a window on another frame? If > so, this is indeed a problem to solve with your window-manager, not > with Emacs I believe Emacs can model how it should interact with this particular window manager based on how Terminal app, XQuartz does it right. > I do see select-window here, so the feature is working. The select is working between boxes (windows) within an outer most box = (frame). The ask is for the mouse focus to follow select on the outer most boxes = (frames). I haven=E2=80=99t built Emacs 27 on Mac OS and will see what has been = suggested by=20 OC=E2=80=99s nsterm.c=E2=80=99s mouseMoved. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 28 06:40:14 2018 Received: (at 31975) by debbugs.gnu.org; 28 Jun 2018 10:40:14 +0000 Received: from localhost ([127.0.0.1]:38205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYULW-0001sS-5X for submit@debbugs.gnu.org; Thu, 28 Jun 2018 06:40:14 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:36621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYULT-0001sJ-Eu for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 06:40:12 -0400 Received: from epi.local (203-213-106-91.static.tpgi.com.au [203.213.106.91]) (Authenticated sender: van@scratch.space) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 82A7A100004; Thu, 28 Jun 2018 10:40:07 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect From: Van L In-Reply-To: <83a7rgqnvx.fsf@gnu.org> Date: Thu, 28 Jun 2018 20:40:03 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <13C60D80-A40A-47B2-B421-F571A18C8E94@scratch.space> References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <5B333E04.5070003@gmx.at> <83a7rgqnvx.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3124) X-Spam-Level: X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > It sounds like the window-manager is not configured to have focus > follow mouse. I believe I was after `mouse-autoselect-frame` now that I know the relationship of frame to windows within it. The window-manager’s default is for click to focus, but two apps are known to be customizeable to `focus-follow-mouse` for frames belonging to the app. [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.1 RCVD_IN_MSPIKE_L4 RBL: Bad reputation (-4) [217.70.178.231 listed in bl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted X-Debbugs-Envelope-To: 31975 Cc: martin rudalics , 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > It sounds like the window-manager is not configured to have focus > follow mouse. I believe I was after `mouse-autoselect-frame` now that I know the relationship of frame to windows within it. The window-manager’s default is for click to focus, but two apps are known to be customizeable to `focus-follow-mouse` for frames belonging to the app. [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.1 RCVD_IN_MSPIKE_L4 RBL: Bad reputation (-4) [217.70.178.231 listed in bl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager > It sounds like the window-manager is not configured to have focus > follow mouse. I believe I was after `mouse-autoselect-frame` now=20 that I know the relationship of frame to windows within it. The window-manager=E2=80=99s default is for click to focus, but two apps are known to be customizeable to `focus-follow-mouse` for frames belonging to the app.= From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 28 08:59:35 2018 Received: (at 31975) by debbugs.gnu.org; 28 Jun 2018 12:59:35 +0000 Received: from localhost ([127.0.0.1]:38301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYWWN-0007Zb-J1 for submit@debbugs.gnu.org; Thu, 28 Jun 2018 08:59:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYWWM-0007ZM-3J for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 08:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYWWD-0008Pv-1J for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 08:59:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYWWC-0008Pn-TR; Thu, 28 Jun 2018 08:59:24 -0400 Received: from [176.228.60.248] (port=2270 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fYWWC-0004TW-Al; Thu, 28 Jun 2018 08:59:24 -0400 Date: Thu, 28 Jun 2018 15:59:30 +0300 Message-Id: <83lgazoyml.fsf@gnu.org> From: Eli Zaretskii To: Van L In-reply-to: <13C60D80-A40A-47B2-B421-F571A18C8E94@scratch.space> (message from Van L on Thu, 28 Jun 2018 20:40:03 +1000) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <5B333E04.5070003@gmx.at> <83a7rgqnvx.fsf@gnu.org> <13C60D80-A40A-47B2-B421-F571A18C8E94@scratch.space> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31975 Cc: rudalics@gmx.at, 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Van L > Date: Thu, 28 Jun 2018 20:40:03 +1000 > Cc: martin rudalics , > 31975@debbugs.gnu.org > > I believe I was after `mouse-autoselect-frame` now > that I know the relationship of frame to windows within it. You mean, hypothetically? Because I don't think such a feature exists in Emacs as of now. > The window-manager’s default is for click to focus, but two apps > are known to be customizeable to `focus-follow-mouse` for frames > belonging to the app. Can't you change the window-manager's default? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 28 09:05:36 2018 Received: (at 31975) by debbugs.gnu.org; 28 Jun 2018 13:05:36 +0000 Received: from localhost ([127.0.0.1]:38305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYWcC-0007kx-8r for submit@debbugs.gnu.org; Thu, 28 Jun 2018 09:05:36 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYWcA-0007kk-8C for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 09:05:34 -0400 X-Originating-IP: 203.213.106.91 Received: from epi.local (203-213-106-91.static.tpgi.com.au [203.213.106.91]) (Authenticated sender: van@scratch.space) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 175B71BF209; Thu, 28 Jun 2018 13:05:40 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect From: Van L In-Reply-To: <83lgazoyml.fsf@gnu.org> Date: Thu, 28 Jun 2018 23:05:26 +1000 Content-Transfer-Encoding: 7bit Message-Id: <7D2A43AC-2FC6-48EA-BBE7-29B011963182@scratch.space> References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <5B333E04.5070003@gmx.at> <83a7rgqnvx.fsf@gnu.org> <13C60D80-A40A-47B2-B421-F571A18C8E94@scratch.space> <83lgazoyml.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3124) X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31975 Cc: 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > You mean, hypothetically? It might be trivial for the NS/Mac port developers familiar with plumbing conventions for apps on the platform. > Can't you change the window-manager's default? The wm allows and honors apps wanting that behavior. I guess the nsterm or macterm source files for interacting with frames and focus need a little kick. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 28 14:25:08 2018 Received: (at 31975) by debbugs.gnu.org; 28 Jun 2018 18:25:08 +0000 Received: from localhost ([127.0.0.1]:38832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbbP-0007GI-W0 for submit@debbugs.gnu.org; Thu, 28 Jun 2018 14:25:08 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:37832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbbO-0007Fj-4v for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 14:25:06 -0400 Received: by mail-wr0-f170.google.com with SMTP id k6-v6so6452221wrp.4 for <31975@debbugs.gnu.org>; Thu, 28 Jun 2018 11:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=XRbziZ+39u4QsgAWt+etiJrZt9H9/cGAeycGeBdu8jU=; b=iLrmqcFqpMe93FodiCmOj0BUCwl0skxossqYwYdP/ExzzG+pH9mzpUAhouqLeodJRa eBbcm/35SiJIFINFMhF65JWA2/u9rEY6K5KOeWcHTdBGop+M/EyDnKhe4ndgFH9wgQP/ PvF5/wimRd4uGU4TxP1MP6u9+4HYSfTwV4O0a8vUJIELFv4lMExGc0fd1WJ0IyWw0gMZ WAUBMvEGA4UiXU8CdL+TRtdhdh4dH65yEmd3QoY4g7DH24K1wiUmghoumLGNJMRDRrHU KD8VJ49gAEnqjZfLlJ09kgYny3WSBbVv/Z9qebJn00wc78WpGxojvBDYOidfOadGCa2Q GN8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=XRbziZ+39u4QsgAWt+etiJrZt9H9/cGAeycGeBdu8jU=; b=aXaUUD19JtGsl4I7QQTKOJemzgdF6HEMi+mOg0NQv3RhE3V6HRIEMIwlUFheZDA5p3 pQlM8UZXZ5DV6iikVsmnie1o3KgY+zhQJiIfufc7aO00YyxSsc0stk018S964DGRwD+X A8oM5dNpuomO/ROjFO+7FRPs/YjFHy7GY5xiODMktExDRAo8dxNllBr4SyUmI0z7zAz8 tuSRaxq5UiRYOuVJDC91D4HOMdysPCZjVIQmcYqpVIRNfgjC+0BTW7aZewyHX+YwKMA8 LbCUbiWVAtn2XQO2OW7s0u76o+UxwaWTRBZYgdeOea4PYgkVji9muYeOSmfXlfmWfUED WyoA== X-Gm-Message-State: APt69E3xmWJzs4qHHwD5gvTakgg/ps1sXZF5ULpwyzbmhZHNeFd7jLlp oHt8avbUEjMEFV2BH+oDyRQ= X-Google-Smtp-Source: AAOMgpcTgkFB8Ye21U4Hd7Hu0kU+z4SNe3QrQzwmspG9lBo7r+ZQUUysNkhLTaA4ETu+qEByruMh0A== X-Received: by 2002:adf:9f0f:: with SMTP id l15-v6mr9719481wrf.206.1530210300256; Thu, 28 Jun 2018 11:25:00 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-34d0-aa37-ab17-dfda.holly.idiocy.org. [2001:8b0:3f8:8129:34d0:aa37:ab17:dfda]) by smtp.gmail.com with ESMTPSA id w126-v6sm10723415wmw.29.2018.06.28.11.24.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 11:24:59 -0700 (PDT) Date: Thu, 28 Jun 2018 19:24:57 +0100 From: Alan Third To: Van L Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect Message-ID: <20180628182457.GA51605@breton.holly.idiocy.org> References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <5B333E04.5070003@gmx.at> <83a7rgqnvx.fsf@gnu.org> <13C60D80-A40A-47B2-B421-F571A18C8E94@scratch.space> <83lgazoyml.fsf@gnu.org> <7D2A43AC-2FC6-48EA-BBE7-29B011963182@scratch.space> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7D2A43AC-2FC6-48EA-BBE7-29B011963182@scratch.space> User-Agent: Mutt/1.10.0 (2018-05-17) X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 31975 Cc: Eli Zaretskii , 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Thu, Jun 28, 2018 at 11:05:26PM +1000, Van L wrote: > > > You mean, hypothetically? > > It might be trivial for the NS/Mac port developers > familiar with plumbing conventions for apps on the > platform. > > > Can't you change the window-manager's default? > > The wm allows and honors apps wanting that behavior. > I guess the nsterm or macterm source files for > interacting with frames and focus need a little > kick. It shouldn’t be hard, although I’d mark this as wishlist for now as I’m working on other things. If someone else fancies giving it a go I think the simplest approach is to modify [EmacsEvent mouseEntered:] to make the window key if some variable is set. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 28 14:25:36 2018 Received: (at control) by debbugs.gnu.org; 28 Jun 2018 18:25:36 +0000 Received: from localhost ([127.0.0.1]:38835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbbs-0007H3-7t for submit@debbugs.gnu.org; Thu, 28 Jun 2018 14:25:36 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:38417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbbr-0007Gr-2i for control@debbugs.gnu.org; Thu, 28 Jun 2018 14:25:35 -0400 Received: by mail-wr0-f170.google.com with SMTP id e18-v6so6456492wrs.5 for ; Thu, 28 Jun 2018 11:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:message-id:to:from:subject; bh=7jGXJFm6AijhWlgZZokGcdJ+uHcTWUhpLblS3YsFU5Y=; b=UgcX+9oZv8ECLCkGJACjuyRcsXqzFitrBeTgOSKZhhH2vT6ksmXMNfkd6HSNooPM3r kC2otBQY8Sw3FtDGx7tryHzPH/ZkN3mtIoAaoM+jIj+sCINe/60VCZt6NENDpZursIm0 t93W8NOmPa3ulrtWIZ0ptTGP7pbKIEXyEXNmbipVR4n5kc9plYX+l94W89hb3PGEEDCi kuGrrLvpa95alyy9QIvWMgu38PLr0LcFepKIYNA3t9YN1OAIYCEUI/jgz0k4RMO/c7M7 uF5stb9Ylfm5vUYX127c9if3damSSwz0LsNclgnpVbCXRhn3TME1uoI3luRWlfMX19gz euUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=7jGXJFm6AijhWlgZZokGcdJ+uHcTWUhpLblS3YsFU5Y=; b=lFm8gUMDBo1cwkM0lwO/amB/VgxDsBZNZi2uHbXPgEyvhOrC4Ibv8j10VyvgbwmrZk iuwvMpIa60l3T3KORuVZjtnza7mOlIGxljogtb1yU/VdE/YQgk/KFGriQnuFBT81FOkN AxWtRmPSv9/clOkbZYiB4odhVdh0t0+FmuVP3Kow9Gru58Egw6Tp4G8bRPQWBvyxe5CN 1XTkbsDH9QbU8EKUy6BElkvFD1xU38RHHUoGVrFzGWk2M7jA3A6lLLqqK7n2FKxEto5G mO/Dx4C8s+1TRXjf2QIy+RXeJUO71K2zMUtRmSo7xubxlTk5I0wBAOShzx3/qeTBYh1N 3nNQ== X-Gm-Message-State: APt69E2WOv9TfNYF8h5raoKqIHqtKilZNDIb26lJVg7PwhNWjFBT9Bks o0BTAn0NKVRAOI2BEOGgLJlBNCnw X-Google-Smtp-Source: AAOMgpetBefmc/pgR3Jbi8TqqgMavIjd+jipdjp9Qb7zt87IP512/cqBzk+MRWlp2CrJXv5gEzagGg== X-Received: by 2002:adf:adae:: with SMTP id w43-v6mr10129752wrc.251.1530210329338; Thu, 28 Jun 2018 11:25:29 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-34d0-aa37-ab17-dfda.holly.idiocy.org. [2001:8b0:3f8:8129:34d0:aa37:ab17:dfda]) by smtp.gmail.com with ESMTPSA id e188-v6sm25937910wmf.21.2018.06.28.11.25.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Jun 2018 11:25:28 -0700 (PDT) Date: Thu, 28 Jun 2018 19:25:23 +0100 Message-Id: To: control@debbugs.gnu.org From: Alan Third Subject: control message for bug #31975 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) severity 31975 wishlist From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 19 22:08:24 2021 Received: (at 31975) by debbugs.gnu.org; 20 Oct 2021 02:08:24 +0000 Received: from localhost ([127.0.0.1]:52377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md11j-0001oS-UN for submit@debbugs.gnu.org; Tue, 19 Oct 2021 22:08:24 -0400 Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:40643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md11h-0001oF-Uj for 31975@debbugs.gnu.org; Tue, 19 Oct 2021 22:08:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634695696; bh=3I0ECC+hThfauEgonU22OEiKYxXpUU79pezccliAnBM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Z74eH8zHetyf5nSnN7FfRHWJLMM5NtmIqCdGWyD2WHuXnka0wSXr2hPf0LqsO0JNUFcBMltnkSifUgD9AfFxROhbbzFyX/U2kG6Q60TRZDcPyV/Wu4ra76XxXWk7caWo9tfnbRT3r4nLYaK1T1sEsU6EYY8TYS7J9FRyxszhmMraqt1RBh3tv1P3d+9DTTn7eDWQfK2JYUL9Jd49AfcAADbcE6HA+d2N2ZsbKrdxFSBP3eyTMIWfdw0Md0C6Pzx4Hdl8N2kp0qTtoLMGMx4/hVQ4ENSK3s6hrjCfEnBOfgwT/hnUXTAgMdti6gKjIbOdE9dzI/22tD//TJ4ZBn7E3A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634695696; bh=eKHnIsqYfR1YQBd7eWWjT2Cf89DPoOanI+HUo3M93SK=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=XdrJDzVMFXhnUhxuJdKRrkRC4Mr2Lte92fZaYwF8bUy+psEgIUMvwVIMNOOxuTQ5zJofrlhIvCNz4eeXeuLNiObGN683/LqoV0pR93rRqkJ6ZZvVjXEFCjexxe+IuTh37/I7PbsBXPb/qtMi02rQbLOU9NALiRUGTgJ88xsqEMOTetWIDDajs4Kj7L2QOYEQ+Uxt3fVjeVQzNRWsa4LmRfZ4pA6CTATkiwe1JudwZCjYD6Hr3i+1DjYAcBiPgkbqcN+VtnzE+hmnroU4sEmSaQK97MSwhZZnxUSP88zilCq0NhfWwnb0KICDijqOiU3jNaQgCAC1o+jWJqsg0RZvRw== X-YMail-OSG: CIUq.twVM1m3UaM6zdj_7BWfNEwiuUZrBWsJ9XKpImPXhS81CdXbOdsaDD4ydpc eGLRpiwdjOg2wubreXqLt2_raYrP09yhQLmJIUkMmBGj0aUp0.tU4OvM7TSFlWyhY1B5pFzDL_Wi fOxzINjTmBi8aUUsbjJXacbs6ZDcVmBDOpoCfTSundOdv.hnhK3PrqJRulELTyAqLYlw.QC1Yh_g 9NY53iGZuXRDEqnaw9Wg.M8rsXW8zZnmxyr7chFze1Mn2xbAuHpR2HqmIHK6KeXmhqE9g4vVXTkj _vyv7bt5JJ3ZISRsE04EN_mcqTh_8XdhP6FnOKSWrAqKl5v6ycvkDxiBkSyHf65WYfTbnAWfZ5Gf KFmLdSfw3nX05ReHUI5CwLvenpcvh3rGCPul1VbI8MPRpi8mhNhU_Cc6YHoZAoq4mNOCNRswG9jA B8tgl1fMGdncOJpQpBVN4arT1URH9geLv_cwPJKHKM.Rkmkhm6Mg1dvf0FUxv8Gf8il_MRYuRx98 .8r07qKhDqJSyc.r2aV8Itt4ZJZf9wG05TmHWW6SBcvE7tjo8UduBg6pT.C_pYvKTuywbNBxIEey CRAlS4_fHIjdk9k1GvmZHhoddCKzJ4MfUhgYXv7KNYTa9Rw3rzLA_.gqHZJ0OaI3K4CtLlEcgqGJ z71zwMpKi7NR3UpvhtHzDvA.yUogOyy7u7_rogyHYukoudg.pMU4EOjcSmb1KZXNLqfnFFSvplJl ufpDV02FkETeCXKBYzpBEooa.4Or3SZc2.DJI2IQHL3fYdpzCu.XiLeDD7t.KiY6xIma5yGeVXii 0D6.56BkGdbwLNY9nvR1uqcSGa4FsfcIhGdxboM_WAzpsbQtrfgjoqoO5VHlGA4ms0MTFjti9u2W BVw7tpbEZcASE7zWhk8D8msmV2I1_ThxDcv4cne9ICOHxR.QaasiN4EMTjnUS6dSxYTu6yNbQ8.j PV7Qbb2t3OT3PInlDV8pz2EHdlhc.qZ509XU9w6MeAm6zdFK28Nm9KC11fymjPjKseyMuxx8EnEM uHRppv6MoD2uMeaKWsx8o0H4qT936gU8XpgV67x0y4J2YLy8i_HABtOSgWWs39y8_dN3IF2yZ5k4 k1z3DAlwiCrzLRhgqi8PVHHHE3gRlcuhnyTJWuQ3xATgWeg7RuNuzLHko2MhVLd9xboglXbHlt54 wTy9Bmk5Kd9ArlSaKIse1e8d2ow2Ef5xz_HhLIX1u4J9N2ZlqqwjpyjZjGXQx_XF5RVL8bu_aw_q cW2_QWfvtIrrwKjOUZL_WC7LFaVVG5f_bpF8kWOx.NPgqzl__L0EvR2COAJE57wR0wiXS.mvqJXj stTkNO1H09Bn8t88dLcXTknixOsqRgr2Bub7ZJt7sNfSObllVVdt9Bm5PdoZ_Y_KTsc.TuVY1uE0 IMYfsfARYzWaUoTussUqA7ihlcQnuJSTVXNbwbXUUH3382fXgbj0VF4SJLmbLe2R_Z_53O89iRUE tS0W5ZouauYpsDv7qllpXBeg7wF5.5mS6tJPh3_xhbcgwaNVEJzQnQi3CuQ4GEneVEa.LzW2IvPS OiczBNW0gxqrue_2_Ur34j_pKNJ2KKrq2.gpxI4k8uKdBZJQwEOk2_lGEnaVW8zZj3FDxlPc4rFL J48aDgdcTpJyQi7dQQbeP7.E71pHTHsisLA0lPuL7ktiSuAd8CC9ea1F1SD_nsE00_wQFGnJZoSk mmVBmDc6mYzre_vEBYnQTJMpkKlZQPlh_TzPV4kAg_7uOMYL2jLY4NYElZmKYqQKsh0TdqyJG3Sa 02wN4V5rSJsvWxqnFSieu4IiwQfjvlunpaSMeSxqfAYP33EDw3IVWcpEqmJAQme4Xpo5_WAvB5Bj MIWzA4CgK9jFrfLQhpQvdfMF9VKmEL3JCo0hHlNuMf0geQNko447KmTlY_RxDZ.K7Fvc_LaAFjyt v8RXVnj5oSm595tmTTdnZ9AeyJqk5BFJdkS3xJ1skLhs1YP1MHYPTMT98AfyqzRCnLwRxBJjV4IY W8ltUD3GWNhFyc9vrg9wmEUmPy8su9D6PxOC5bLTWdNwWtz5AP7yKnb9wDX41E2ia1W7huRjBiGc ztwNmbKBGrSSD.fp908OvWtwXzSNyzQ2d9JPCBf5KFwH.bHbymT9T4r_dmitr3mhYX65vSSQLf7O rgyY5hppiTgiUtrSUnXDAm9nZICPNl96v1RGfX1_7GNRlQO.B2pVNvGnCa_limLhzI9FxV6K8vEl y1kLRDMF97N7o_49OJ8SfRtF9P57KLF9NdJm_ludqxDvPC6hmvzw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 20 Oct 2021 02:08:16 +0000 Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 71942dfd3f81230de1b21ed0d13e07c9; Wed, 20 Oct 2021 02:08:09 +0000 (UTC) From: Po Lu To: Van L Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: Date: Wed, 20 Oct 2021 10:08:05 +0800 In-Reply-To: (Van L.'s message of "Tue, 26 Jun 2018 17:13:40 +1000") Message-ID: <8735owe9dm.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.19116 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1355 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Van L writes: > 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 afte [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [66.163.185.148 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [66.163.185.148 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (luangruo[at]yahoo.com) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: scratch.space (space)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Debbugs-Envelope-To: 31975 Cc: alan@idiocy.org, 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Van L writes: > 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. >=20=20=20=20 > Autoselection selects the minibuffer only if it is active, and never > unselects the minibuffer if it is active. >=20=20=20=20 > When customizing this variable make sure that the actual value of > =E2=80=98focus-follows-mouse=E2=80=99 matches the behavior of your win= dow manager. After reading through the entire thread, I still don't understand what the problem is. But if it's that `mouse-autoselect-window' is not respected on the NS port, then I think this bug is now outdated, because the code to do that is already present and works. (On GNUstep, at least. I don't know about macOS) Alan, do you know anything about this? From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 20 16:27:00 2021 Received: (at 31975) by debbugs.gnu.org; 20 Oct 2021 20:27:00 +0000 Received: from localhost ([127.0.0.1]:55559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdIAt-00009g-Uf for submit@debbugs.gnu.org; Wed, 20 Oct 2021 16:27:00 -0400 Received: from outbound.soverin.net ([116.202.126.228]:53541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdIAs-00009R-5v for 31975@debbugs.gnu.org; Wed, 20 Oct 2021 16:26:58 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 80EFF51; Wed, 20 Oct 2021 20:26:52 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1634761611; bh=iDFgcevh5OJEE/QukBnlZ1fCvBB+5K/LoXoMzR0H1wA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f0Df7HoKu69jQwCkjnat3Qow29p5vNNm3eEmXP2RAzGVIxFdYfG13yaOsuM+TXvqY BawgPTKlDWsBhmTptD53pZETrO2tYVWYRaPWY8X5X4/u3w06ARtg9UdtTO/Qcqa1CF 8t8rszFtQdSltFKJ4mODLHj6ewkoZEmYPM3VGfwxLjZKYADGr8QseIftgIDUAFHVZJ 64eJ89GAyJqUvs2x+VRT+wcDRZRglDrAGS79AOHs40y85c9JkbksTrnhKmqlBcQlkL sIUsr1c8rWZohGyKTNgrs1WPFcNdnGKkVLpb25r5L0GvSLWXv1jf3ncH+uKOIRdBNy DvXOMYjR0NCig== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mdIAj-000c1T-RX; Wed, 20 Oct 2021 21:26:49 +0100 Date: Wed, 20 Oct 2021 21:26:49 +0100 From: Alan Third To: Po Lu Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect Message-ID: Mail-Followup-To: Alan Third , Po Lu , Van L , 31975@debbugs.gnu.org References: <8735owe9dm.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8735owe9dm.fsf@yahoo.com> X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Oct 20, 2021 at 10:08:05AM +0800, Po Lu wrote: > Van L writes: > > > Non-nil means autoselect window with mouse pointer. Hide > > If nil, do not autoselect windows. > > A p [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [116.202.126.228 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: scratch.space (space)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Debbugs-Envelope-To: 31975 Cc: Van L , 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) On Wed, Oct 20, 2021 at 10:08:05AM +0800, Po Lu wrote: > Van L writes: > > > 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. > > After reading through the entire thread, I still don't understand what > the problem is. But if it's that `mouse-autoselect-window' is not > respected on the NS port, then I think this bug is now outdated, because > the code to do that is already present and works. > > (On GNUstep, at least. I don't know about macOS) > > Alan, do you know anything about this? The OP expected changing the setting in Emacs to change how the WM in macOS works, which it doesn't. Since you can't choose another WM in macOS and the standard one doesn't support focus-follows-mouse there's not much to do here. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 20 23:14:03 2021 Received: (at 31975) by debbugs.gnu.org; 21 Oct 2021 03:14:03 +0000 Received: from localhost ([127.0.0.1]:55852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdOWo-0006D1-Mo for submit@debbugs.gnu.org; Wed, 20 Oct 2021 23:14:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdOWn-0006C2-6M for 31975@debbugs.gnu.org; Wed, 20 Oct 2021 23:14:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gXgJUd4AqX4c6coRm5W7sEAEdpxqtjAuyOkO0XWWDoQ=; b=aOUrL2q2hJfX88H5oRMfPOpMEt F9p9A184nGAvtg2PKlexO+jRZEkWApIyONH9frpbjGKBQDyMdjDCi2auIALkt/Z1o0cvLpTzrL4f+ i77hhmLPATBv93FgWxq71Y2MQgVejINs4VaLW7G2+himS9mzzjGcZV9AQAnyAxCh/szM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdOWe-0005RL-Mv; Thu, 21 Oct 2021 05:13:55 +0200 From: Lars Ingebrigtsen To: Alan Third Subject: Re: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect References: <8735owe9dm.fsf@yahoo.com> X-Now-Playing: Alice Coltrane's _Kirtan Turiya Sings_: "Govinda Hari" Date: Thu, 21 Oct 2021 05:13:52 +0200 In-Reply-To: (Alan Third's message of "Wed, 20 Oct 2021 21:26:49 +0100") Message-ID: <877de7hxxr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Alan Third writes: > The OP expected changing the setting in Emacs to change how the WM in > macOS works, which it doesn't. Since you can't choose another WM in > macOS and the standard one doesn't support focus-follows [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 31975 Cc: Po Lu , Van L , 31975@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alan Third writes: > The OP expected changing the setting in Emacs to change how the WM in > macOS works, which it doesn't. Since you can't choose another WM in > macOS and the standard one doesn't support focus-follows-mouse there's > not much to do here. OK; I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 20 23:14:16 2021 Received: (at control) by debbugs.gnu.org; 21 Oct 2021 03:14:16 +0000 Received: from localhost ([127.0.0.1]:55856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdOX2-0006Dd-27 for submit@debbugs.gnu.org; Wed, 20 Oct 2021 23:14:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdOX0-0006DP-3l for control@debbugs.gnu.org; Wed, 20 Oct 2021 23:14:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3Dlvb06jcRyMjAby8WgSvA2TPT6cdgg8cmpPLGTrb88=; b=YnliVZPz4Ey6IFFoYeE2lLaIIa JyiJMmap8TuVlZeT4hW/LjcCM3q/mKg4+2accBNb9yAX3KIPVuXJaRoAj9zzvMCWE0M8TK5x183sD 4hf1cUZZ2ZSCLr6yNtWe9OHmXVJhMBK6CXiGM/ii7vmgHmV3Pw/FDbcY41FYOUqC+tfg=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdOWs-0005Ra-Mz for control@debbugs.gnu.org; Thu, 21 Oct 2021 05:14:08 +0200 Date: Thu, 21 Oct 2021 05:14:02 +0200 Message-Id: <875ytrhxxh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31975 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 31975 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 31975 quit From unknown Sun Jun 15 09:01:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Nov 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator