From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable Date: Sat, 04 Dec 2010 17:35:41 +0100 Message-ID: <8739qdv6le.fsf@shi.workgroup> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291481131 29757 80.91.229.12 (4 Dec 2010 16:45:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 16:45:31 +0000 (UTC) Cc: rfrancoise@debian.org To: 7553@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 04 17:45:25 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POvEi-000663-3q for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Dec 2010 17:45:24 +0100 Original-Received: from localhost ([127.0.0.1]:47815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POvEh-0002AJ-MH for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Dec 2010 11:45:23 -0500 Original-Received: from [140.186.70.92] (port=50581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POvEc-0002AE-P5 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:45:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POvEb-0001O9-Pd for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:45:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POvEb-0001O3-Kf for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:45:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1POv0o-0005JI-2t; Sat, 04 Dec 2010 11:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: rfrancoise@debian.org, bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Dec 2010 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: rfrancoise@debian.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129148020520340 (code B ref -1); Sat, 04 Dec 2010 16:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2010 16:30:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1POuzs-0005I1-L5 for submit@debbugs.gnu.org; Sat, 04 Dec 2010 11:30:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1POuzq-0005HH-9x for submit@debbugs.gnu.org; Sat, 04 Dec 2010 11:30:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POv5Q-0007Pc-IQ for submit@debbugs.gnu.org; Sat, 04 Dec 2010 11:35:49 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:40955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POv5Q-0007PX-FW for submit@debbugs.gnu.org; Sat, 04 Dec 2010 11:35:48 -0500 Original-Received: from [140.186.70.92] (port=60578 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POv5P-0008Ob-Df for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:35:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POv5N-0007Oz-MJ for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:35:47 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:42886 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1POv5N-0007OU-5d for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 11:35:45 -0500 Original-Received: (qmail invoked by alias); 04 Dec 2010 16:35:42 -0000 Original-Received: from p54946C69.dip.t-dialin.net (EHLO shi.workgroup) [84.148.108.105] by mail.gmx.net (mp018) with SMTP; 04 Dec 2010 17:35:42 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX18omuw81d0oomrFbI2vKGq0QJro4dko5gSn2yBfXt 45ktGVpDCe7uM2 Original-Received: from grfz by shi.workgroup with local (Exim 4.72) (envelope-from ) id 1POv5J-0000BI-8Y; Sat, 04 Dec 2010 17:35:41 +0100 X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Dec 2010 11:31:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42147 Archived-At: severity wishlist stop Please change the default value of the variable focus-follows-mouse to nil and mention the fact that setting the variable leads to mouse movements which are not user controlled in the documentation of this variable. The current setting leads to surprising and irritating behaviour because of erratic (from a users perspective) mouse movements as discussed in bug reports 7269 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7269) and 1980 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1980). It is especially annoying when working on a terminal (where one usually does not use the mouse) and leaving an emacsclient session suddenly moves mouse and focus to another graphical Emacs frame. How to reproduce: Start X with only exec xterm in your ~/.xsession. Start X via startx. This will start X without window manager in order to reproduce the bug without interference of a window manager. Move the mouse over the xterm in the upper left hand corner. Start an Emacs server with a graphical frame in the bottom right hand corner: emacs --eval '(server-start)' -g 40x20-0-0 & Edit some file in a terminal session: emacsclient /tmp/somefile Leave the editing session via server-edit C-x #. Now the mouse jumps to the upper right hand corner of the graphical Emacs frame. Focus will follow this mouse movement. In order to work in the terminal again one will have to move the mouse back. This is especially annoying when the terminal window and the graphical Emacs frame are on different screens. Thanks for your attention, Gregor