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 19:23:01 +0200 Message-ID: <46E03775.9080202@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 1189099876 15277 80.91.229.12 (6 Sep 2007 17:31:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 17:31:16 +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 19:31:13 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 1ITLC9-0005W8-GJ for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 19:31:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITLC2-0006YI-1l for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 13:31:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITLBV-0006LT-UY for emacs-devel@gnu.org; Thu, 06 Sep 2007 13:30:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITLBQ-0006Kk-Ux for emacs-devel@gnu.org; Thu, 06 Sep 2007 13:30:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITLBQ-0006Kh-RI for emacs-devel@gnu.org; Thu, 06 Sep 2007 13:30:24 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ITLBM-0003HC-WE for emacs-devel@gnu.org; Thu, 06 Sep 2007 13:30:24 -0400 Original-Received: (qmail invoked by alias); 06 Sep 2007 17:30:07 -0000 Original-Received: from N915P005.adsl.highway.telekom.at (EHLO [62.47.58.69]) [62.47.58.69] by mail.gmx.net (mp039) with SMTP; 06 Sep 2007 19:30:07 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+iOZ89yk6i0Rdn9bidrAONJH9TLgjOsqWNhrRmra UFk3qDDeeyH7Q1 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:78004 Archived-At: > 1. I'm not 100% sure I understand you. I guess you mean that if, for > example, some code does `select-frame-set-input-focus', then the mouse > pointer will be moved to the newly selected frame. Is that right? > > That's certainly true. But if that is the only intended effect of > `focus-follows-mouse', then I'd say that this option should be named > `mouse-follows-focus', not the reverse. IOW, what you describe (and what I > see) is that _if_ the focus is changed to another frame _then_ the mouse is > warped to that frame. It's needed to avoid that a window-manager with focus-follows-mouse policy inadvertently reselects the old frame when you move the mouse the first time after `select-frame-set-input-focus'.