From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: focus-follows-mouse Date: Mon, 05 May 2008 14:35:30 -0400 Message-ID: <481F5372.7000606@gnu.org> References: <851w4g8vlq.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210012559 12373 80.91.229.12 (5 May 2008 18:35:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 May 2008 18:35:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 05 20:36:34 2008 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 1Jt5Y3-0003s7-7H for ged-emacs-devel@m.gmane.org; Mon, 05 May 2008 20:36:27 +0200 Original-Received: from localhost ([127.0.0.1]:33271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jt5XL-0003Qo-HY for ged-emacs-devel@m.gmane.org; Mon, 05 May 2008 14:35:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jt5XH-0003Nv-4J for emacs-devel@gnu.org; Mon, 05 May 2008 14:35:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jt5XE-0003IH-96 for emacs-devel@gnu.org; Mon, 05 May 2008 14:35:38 -0400 Original-Received: from [199.232.76.173] (port=44419 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jt5XE-0003I6-4W for emacs-devel@gnu.org; Mon, 05 May 2008 14:35:36 -0400 Original-Received: from [66.155.124.107] (helo=smtp.janestcapital.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jt5X9-0006jR-Mc; Mon, 05 May 2008 14:35:31 -0400 Original-Received: from [172.25.131.105] [38.105.200.250] by janestcapital.com with ESMTP (SMTPD-9.10) id A3720338; Mon, 05 May 2008 14:35:30 -0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: <851w4g8vlq.fsf@lola.goethe.zz> X-Enigmail-Version: 0.95.6 X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:96523 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Kastrup wrote: | "Sam Steingold" writes: | |> GNU Emacs 23.0.60.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.20) |> of 2008-05-05 on nyc-qws-005 |> '--with-x-toolkit=gtk' '--prefix=/mnt/office/dev/opt' |> |> I just noticed that I need to click the mouse to switch the focus |> between emacs windows (as opposed to emacs frames/X windows which are |> switched between based on the mouse movement). |> Even though the documentation of focus-follows-mouse makes it abundantly |> clear that this is not the intent of the variable, I think it would be |> better if emacs switched the emacs window focus based on mouse movement |> when this variable is set to non-nil. | | I disagree since that makes the desktop inconsistent. Even if Emacs | could reliably ignore the window manager for such functions. | I think you misunderstood me. My suggestion makes the desktop _more_ consistent. What I am saying is: I set focus-follows-mouse to t in emacs because I set my WM to "focus follows mouse", i.e., when I switch between WM windows (emacs frames), focus already follows the mouse. what I _want_ is that when I move mouse between two emacs windows within the same emacs frame (i.e., the same WM window, i.e., the WM does not need to change anything), I want the focus to switch between the two emacs windows as if by C-x o (or similar). The behavior when focus-follows-mouse is nil should not change. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIH1NyPp1Qsf2qnMcRAodwAKCTB9nsO6YOxPRj97pqskdYrROv4wCfevms WUh+l8L823PtOLDkzAxkmBw= =1KYw -----END PGP SIGNATURE-----