From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect Date: Wed, 20 Oct 2021 21:26:49 +0100 Message-ID: References: <8735owe9dm.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24828"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Van L , 31975@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 20 22:28:28 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdICJ-0006EU-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 22:28:28 +0200 Original-Received: from localhost ([::1]:51552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdICI-0001c5-ES for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 16:28:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdIAx-0000dH-3V for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 16:27:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdIAw-0000Bm-Ch for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 16:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdIAw-00009z-66 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2021 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31975 X-GNU-PR-Package: emacs Original-Received: via spool by 31975-submit@debbugs.gnu.org id=B31975.1634761620604 (code B ref 31975); Wed, 20 Oct 2021 20:27:02 +0000 Original-Received: (at 31975) by debbugs.gnu.org; 20 Oct 2021 20:27:00 +0000 Original-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 Original-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 Original-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) Original-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== Original-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 Mail-Followup-To: Alan Third , Po Lu , Van L , 31975@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <8735owe9dm.fsf@yahoo.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217713 Archived-At: 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