From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de lay]] Date: Sun, 03 Sep 2006 18:02:05 +0200 Message-ID: <854pvpym4i.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157301135 16706 80.91.229.2 (3 Sep 2006 16:32:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Sep 2006 16:32:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 03 18:32:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJutI-0005uN-24 for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2006 18:32:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJutH-0007J0-Jt for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2006 12:32:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJusz-0007Hc-IW for emacs-devel@gnu.org; Sun, 03 Sep 2006 12:31:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJusy-0007Gj-HT for emacs-devel@gnu.org; Sun, 03 Sep 2006 12:31:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJusy-0007GZ-C6 for emacs-devel@gnu.org; Sun, 03 Sep 2006 12:31:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJv3J-0001uy-02 for emacs-devel@gnu.org; Sun, 03 Sep 2006 12:42:33 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GJusq-0006b7-Gt; Sun, 03 Sep 2006 12:31:44 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id EA6231C4D3AD; Sun, 3 Sep 2006 18:02:05 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 03 Sep 2006 11:17:30 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:59286 Archived-At: Richard Stallman writes: > Would people please comment on this bug fix? > > From: martin rudalics > Subject: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de > lay] I think a delay is the wrong thing to do here since it makes stuff unpredictable. The right fix, in my opinion, would be lazy focus change: only when a keyboard or mouse event occurs in the new window, is the focus changed. That has the disadvantage that the user may be surprised by the change since the old window appears to have focus before typing a key. In order to mitigate the surprise, it might be reasonable to visibly unfocus the old window (by the different highlighting of the mode line and the different cursor type), but not refocus a different window before an event occurs. A more radical approach would be to move toolbar and menubar just above the currently selected window. This would also require less mouse movement, but would likely earn us an award for the most weird user interface look ever. I don't think it is reasonable to expect to sort this out before the release. I think that there are several viable possibilities, and we'd need the feedback of testers trying each of those out for several weeks before it would be viable to decide on a sensible strategy. I don't think that the delay stuff is a good strategy: it brakes and confuses the user when he indeed wants to change focus, and it causes hectic when he doesn't. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum