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: [rudalics@gmx.at: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de lay]] Date: Tue, 05 Sep 2006 17:59:01 +0200 Message-ID: <44FD9EC5.2010000@gmx.at> References: <854pvpym4i.fsf@lola.goethe.zz> <44FBEEFC.3040205@gmx.at> <44FD41A7.5020100@gmx.at> <44FD7365.10901@gmx.at> <85d5aalaoe.fsf@lola.goethe.zz> NNTP-Posting-Host: main.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 1157471925 25166 80.91.229.2 (5 Sep 2006 15:58:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Sep 2006 15:58:45 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 05 17:58:44 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 1GKdJV-0005Ue-09 for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 17:58:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKdJU-0003js-2Q for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 11:58:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKdJG-0003he-VJ for emacs-devel@gnu.org; Tue, 05 Sep 2006 11:57:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKdJE-0003e0-2z for emacs-devel@gnu.org; Tue, 05 Sep 2006 11:57:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKdJD-0003di-U7 for emacs-devel@gnu.org; Tue, 05 Sep 2006 11:57:55 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GKdTz-0000Wj-F7 for emacs-devel@gnu.org; Tue, 05 Sep 2006 12:09:03 -0400 Original-Received: (qmail invoked by alias); 05 Sep 2006 15:57:53 -0000 Original-Received: from N827P011.adsl.highway.telekom.at (EHLO [62.47.47.75]) [62.47.47.75] by mail.gmx.net (mp010) with SMTP; 05 Sep 2006 17:57:53 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: David Kastrup In-Reply-To: <85d5aalaoe.fsf@lola.goethe.zz> X-Y-GMX-Trusted: 0 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:59379 Archived-At: >>A simple delay is standard for focus follows mouse policies. I don't >>really want to omit that. > > > It is not at all standard. For example, GNOME does not offer anything > like that in its Window Preferences. What it _does_ offer is a dialog > > Window Selection > > [ ] Select windows when the mouse moves over them > > [ ] Raise selected windows after an interval > Interval before raising: [0.0-10.0, default 0.5] seconds > > Deactivating any of those lines will deactivate the following lines. > The default is "off" for all options. I thought about KDE's "delay focus". Anyway `mouse-autoselect-window' was and is by default nil. The question Kim raised was whether mouse quiescence should be considered in the first place when delayed autoselection is on. In this context I considered a simple timeout "standard" because I know of implementations based on timeouts. I'm not aware of attempts to check mouse quiescence with respect to focus follows mouse. > I actually know of no window manager offering a delay before select. > If at all, they have delay before raise. In general, window managers don't have the problem that selecting an option from a menu-/toolbar should be interpreted in the context of a particular window showing a particular buffer. >>You can always set the delay to a very small value. In my >>experience less than 0.2 seconds never sensibly delays selection but >>may select the window too quickly. It depends on your mouse mileage >>though, personally I like nervous mice. > > > And unloaded machines and non-networked X11 connections. But not > everybody is running Emacs on a machine of his dreams all of the time. Correct. That's why this has to be more customizable.