From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: mouse wheel scrolling in gtk Date: Tue, 29 Jul 2008 17:57:56 -0700 Message-ID: <009a01c8f1df$4e88d350$0200a8c0@us.oracle.com> References: <488FB65B.5020708@vmlinux.org> <871w1cfbdr.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217379576 19904 80.91.229.12 (30 Jul 2008 00:59:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 00:59:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Miles Bader'" , "'Joachim Nilsson'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 30 03:00:25 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 1KO03E-00017n-0r for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 03:00:24 +0200 Original-Received: from localhost ([127.0.0.1]:38573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KO02J-00065L-VM for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2008 20:59:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KO02G-00065G-3P for emacs-devel@gnu.org; Tue, 29 Jul 2008 20:59:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KO02D-000654-KI for emacs-devel@gnu.org; Tue, 29 Jul 2008 20:59:22 -0400 Original-Received: from [199.232.76.173] (port=42015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KO02D-000651-Gn for emacs-devel@gnu.org; Tue, 29 Jul 2008 20:59:21 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:63053) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KO029-0005Ob-5A; Tue, 29 Jul 2008 20:59:17 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m6U0x5x8006605; Tue, 29 Jul 2008 19:59:05 -0500 Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m6TI7dhx020065; Tue, 29 Jul 2008 18:59:04 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt356.oracle.com with ESMTP id 11119640851217379471; Tue, 29 Jul 2008 17:57:51 -0700 Original-Received: from dradamslap1 (/141.144.81.72) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Jul 2008 17:57:51 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <871w1cfbdr.fsf@catnip.gol.com> Thread-Index: Acjx3ad7mZU3C8i/Qn6XAqqHKcuM8QAACfow X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:101728 Archived-At: > > This is a bit counter intuitive since other Gtk/Gnome > > applications honor this. I.e. you can mouse-wheel-scroll any of > > an applications parts without having to first click/focus that > > part of the application. > > > > Can this be fixed, or is there perhaps some configuration > > setting that I have missed? > > C-h v mouse-wheel-follow-mouse RET > > `mouse-wheel-follow-mouse' is a variable defined in `mwheel.el'. > > Whether the mouse wheel should scroll the window that the > mouse is over. This can be slightly disconcerting, but some > people prefer it. > > [I set this to t myself, and I think the default value is > kind of silly personally...] I don't use Gtk/Gnome much, so I don't really care about this for my own use, but I agree with Miles (and, I suspect, Joachim). It seems silly that the default behavior of a mouse wheel wouldn't be to scroll what the mouse points to. Talk about counter-intuitive... And I (obviously) think the last part of the doc string is inappropriate and should be removed. On the contrary, it's disconcerting to have a pointing device *not* act on what it points to but on something somewhere else. The mouse should identify by its location what it acts on. Sheesh... [Also, "this" is ambiguous in the last doc-string sentence. The sentence really says that "whether..." can be disconcerting. I suspect it is trying to say instead that scroll focus following the mouse (that is, a value of t) can be disconcerting (which is wrong, IMO).]