From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: mouse-autoselect-window Date: Thu, 06 Sep 2007 11:35:19 +0200 Message-ID: <46DFC9D7.2090606@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189071438 7151 80.91.229.12 (6 Sep 2007 09:37:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 09:37:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 11:37:17 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 1ITDnY-0006M4-Of for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 11:37:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITDnW-0004lj-SH for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 05:37:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITDkT-00031p-UZ for emacs-devel@gnu.org; Thu, 06 Sep 2007 05:34:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITDkR-0002xn-7g for emacs-devel@gnu.org; Thu, 06 Sep 2007 05:34:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITDkQ-0002xM-T7 for emacs-devel@gnu.org; Thu, 06 Sep 2007 05:34:02 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ITDkQ-0006P5-Ba for emacs-devel@gnu.org; Thu, 06 Sep 2007 05:34:02 -0400 Original-Received: (qmail invoked by alias); 06 Sep 2007 09:34:01 -0000 Original-Received: from N761P020.adsl.highway.telekom.at (EHLO [62.47.39.20]) [62.47.39.20] by mail.gmx.net (mp032) with SMTP; 06 Sep 2007 11:34:01 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18jU25avEEjA28ft6s0o35hVq4OTkaONqQeLQ8cfy +TImDtFU1Qc/rc User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:77962 Archived-At: > Not sure I understand. > > 1. That does not select a window in another frame if you move the mouse to > it, regardless of the setting of focus-follows-mouse (on MS Windows). It should when you set `focus-follows-mouse' to non-nil and you have tweaked the registry of Windows appropriately. > 2. It doesn't change the behavior of window selection within the same frame > (on MS Windows). Hopefully not! > On MS Windows, focus-follows-mouse has no effect. (So that > sentence should also not be removed from the doc.) The sentence would have been wrong after the bug got fixed. But Jason removed it already. > I think your fix might be needed for GNU/Linux etc. - I don't know. Looking > at it, it makes sense. But it does not address any issues I raised, AFAICT. Did you apply it? If not, please do and try to reproduce your problem. > BTW (did I mention this?) - the doc string for focus-follows-mouse should > say that it is about frames, not about focus in windows (which might be in > the same frame). The doc string doesn't talk about windows, it talks about window sytems and window managers. The crucial part of it is the second sentence: You should set this variable to tell Emacs how your window manager handles focus, since there is no way in general for Emacs to find out automatically.