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 14:22:23 +0200 Message-ID: <46DFF0FF.6060502@gmx.at> References: <86abs1bd54.fsf@lola.quinscape.zz> <87myw1p8yb.fsf@escher.local.home> <46DEEF9F.5060904@gmx.at> <87r6lc0zqr.fsf@escher.local.home> 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 1189081315 8771 80.91.229.12 (6 Sep 2007 12:21:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 12:21:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 14:21:54 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 1ITGMk-0000yo-9y for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 14:21:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITGMi-0002Xw-Gj for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 08:21:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITGML-0002EH-VT for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:21:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITGML-0002Dt-8a for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:21:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITGMK-0002Dn-Ph for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:21:21 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ITGMJ-0001ye-Ci for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:21:19 -0400 Original-Received: (qmail invoked by alias); 06 Sep 2007 12:21:17 -0000 Original-Received: from N927P002.adsl.highway.telekom.at (EHLO [62.47.59.194]) [62.47.59.194] by mail.gmx.net (mp040) with SMTP; 06 Sep 2007 14:21:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19thBh+gCltRHEyVcE2m0Yt5NFdesIfBMmNwlKbb9 TV0qc/cGJiwTcW User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87r6lc0zqr.fsf@escher.local.home> 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:77971 Archived-At: > I don't have Emacs_22_BASE but the patch applied cleanly to window.el > in the released Emacs 22.1. However, I see no difference to the > behavior without the patch: with mouse-autoselect-window set to t and > focus-follows-mouse set to nil, moving the mouse over a non-focussed > frame still changes the mode-line face and the tool bar of its > windows, just as in the focussed frame. I don't know whether debugging this is feasible but could you try to, in `mouse-autoselect-window-select', insert some simple messages around the lines I added and see why they apparently return non-nil. In particular (window-frame window) shouldn't eq (window-frame (selected-window)) for different frames. Otherwise, I'd have to reset my registry somehow to get the "standard" click-to-focus behavior :-(.