From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: mouse-autoselect-window Date: Fri, 07 Sep 2007 21:20:01 +0300 Message-ID: References: <87odgff933.fsf@jbms.ath.cx> <46E112BD.80705@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189189228 21854 80.91.229.12 (7 Sep 2007 18:20:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2007 18:20:28 +0000 (UTC) Cc: drew.adams@oracle.com, jeremy@jeremyms.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 20:20:28 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITiRB-0007wq-UW for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 20:20:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITiR9-0002ZS-Rv for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 14:20:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITiR7-0002ZN-2m for emacs-devel@gnu.org; Fri, 07 Sep 2007 14:20:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITiR3-0002ZB-O0 for emacs-devel@gnu.org; Fri, 07 Sep 2007 14:20:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITiR3-0002Z8-IO for emacs-devel@gnu.org; Fri, 07 Sep 2007 14:20:05 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITiR3-0003Bh-3R for emacs-devel@gnu.org; Fri, 07 Sep 2007 14:20:05 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-13-121.inter.net.il [80.230.13.121]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DOJ58404 (AUTH halo1); Fri, 7 Sep 2007 21:19:59 +0300 (IDT) In-reply-to: <46E112BD.80705@gmx.at> (message from martin rudalics on Fri, 07 Sep 2007 10:58:37 +0200) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78177 Archived-At: > Date: Fri, 07 Sep 2007 10:58:37 +0200 > From: martin rudalics > CC: Jeremy Maitin-Shepard , drew.adams@oracle.com, > emacs-devel@gnu.org > > > That is exactly true, and that's exactly why it is useless to set > > focus-follows-mouse on MS-Windows: the w32 support code that handles > > frame switches already uses the Windows API that you mentioned. > > IIUC it wouldn't harm to explicitly move the mouse-pointer there > if focus-follows-mouse is non-nil and the window gets selected > in a programmed way. Or does the API move the mouse pointer too > when switching frames? No, the API doesn't do that. Nor am I convinced it should: after all, there are reasons to raise a frame other than start typing there, and Emacs has no way of knowing what the user wants.