From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: mouse-autoselect-window Date: Wed, 05 Sep 2007 14:56:12 +0200 Message-ID: <87myw1p8yb.fsf@escher.local.home> References: <86abs1bd54.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188997003 14060 80.91.229.12 (5 Sep 2007 12:56:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 12:56:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 05 14:56:43 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 1ISuQv-0001cn-Qf for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 14:56:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISuQu-0005F2-8f for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 08:56:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISuQr-0005Eu-9j for emacs-devel@gnu.org; Wed, 05 Sep 2007 08:56:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISuQp-0005Ee-2e for emacs-devel@gnu.org; Wed, 05 Sep 2007 08:56:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISuQp-0005Eb-0Z for emacs-devel@gnu.org; Wed, 05 Sep 2007 08:56:31 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ISuQo-0008Cy-KH for emacs-devel@gnu.org; Wed, 05 Sep 2007 08:56:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ISuQg-0002Dn-BR for emacs-devel@gnu.org; Wed, 05 Sep 2007 14:56:22 +0200 Original-Received: from i577bc765.versanet.de ([87.123.199.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Sep 2007 14:56:22 +0200 Original-Received: from Stephen.Berman by i577bc765.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Sep 2007 14:56:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc765.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) 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:77857 Archived-At: On Wed, 05 Sep 2007 12:49:27 +0200 David Kastrup wrote: > "Robert J. Chassell" writes: > >> Re `mouse-autoselect-window' on a Microsoft operating system >> >> When you move the mouse to a different frame ... the focus remains >> in the last window the mouse was in in the old frame. >> >> `mouse-autoselect-window' works fine on a GNU/Linux Debian testing >> operating system updated this morning, using this morning's CVS of GNU >> Emacs, Wed, 2007 Sep 5 09:58 UTC, >> >> By `works fine', I mean, focus follows mouse from one frame to another >> and, on both windows I tested, into another window in the same frame. > > Do you have a window manager with a click-to-focus policy (and an > according setting of focus-follows-mouse to nil)? Because if you > don't, you are comparing apples and oranges. > >> I have been using `mouse-autoselect-window' successfully for a long >> time in instances of GNU Emacs on a free operating system. It looks >> like a bug in the restricted code. > > Only if you use click-to-focus in your window manager. Anyway, it > sounds to me like mouse-autoselect-window in connection with > click-to-focus would be a rather useless setting, anyway. So the > problem appears more like a user configuration error than anything > else. I disagree. I'm running Emacs on GNU/Linux under KDE, I have a click-to-focus policy but also have mouse-autoselect-window set to t, because I want to have autoselection between split windows within a single frame. I also observe the same behavior that Drew Adams described. Steve Berman