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 17:10:17 +0200 Message-ID: <46E01859.1050709@gmx.at> References: <86abs1bd54.fsf@lola.quinscape.zz> <87myw1p8yb.fsf@escher.local.home> <46DEEF9F.5060904@gmx.at> <87r6lc0zqr.fsf@escher.local.home> <46DFF0FF.6060502@gmx.at> <87lkbj27zc.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 1189091403 16700 80.91.229.12 (6 Sep 2007 15:10:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 15:10:03 +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 17:10:02 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 1ITIza-0001j7-C9 for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 17:10:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITIzY-0000ZW-Kb for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 11:10:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITIys-0008FE-8n for emacs-devel@gnu.org; Thu, 06 Sep 2007 11:09:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITIyr-0008Et-T3 for emacs-devel@gnu.org; Thu, 06 Sep 2007 11:09:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITIyr-0008Eq-JX for emacs-devel@gnu.org; Thu, 06 Sep 2007 11:09:17 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ITIyr-00023g-2H for emacs-devel@gnu.org; Thu, 06 Sep 2007 11:09:17 -0400 Original-Received: (qmail invoked by alias); 06 Sep 2007 15:09:16 -0000 Original-Received: from N771P016.adsl.highway.telekom.at (EHLO [62.47.40.80]) [62.47.40.80] by mail.gmx.net (mp044) with SMTP; 06 Sep 2007 17:09:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/V+qdmq8PVGg3yhQBmOOgYArfMW4ykjSxxDVkB96 l+CiBjETwWa7EF User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87lkbj27zc.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:77982 Archived-At: > I inserted messages in a progn before and after the sexp (eq > (window-frame window) (window-frame (selected-window))), and also > before and after mouse-autoselect-window-timer is set in > mouse-autoselect-window-start. But in all cases no message was > issued. I even redumped emacs, but still nothing. Do you have a > suggestion that you know will show a message? It always did when I tested this. But this has been throughly tested only on Unix and Windows, never on GNU/Linux. Could you try removing the outer `condition-case' of `mouse-autoselect-window-select', I suppose it triggers some error before getting there. > One thing I notice with mouse-autoselect-window non-nil: if I set it > to a noticeable delay, still when I move the mouse to another frame > with split windows, and there onto a different window than was > previously selected, then the previously selected mode line > immediately displays the active face, and switches to inactive after > the delay. In other words, something in the mouse autoselect code > seems to take effect immediately, ignoring the delay, as long as > mouse-autoselect-window is non-nil. If it's on a different frame it should be avoided by the code I sent you. Something must be bypassing it ...