From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.devel Subject: Re: ignore mouse-wheel press during rotation Date: Thu, 02 Feb 2006 22:15:57 +0000 Message-ID: <87irrxxv8i.fsf@thunk.shootybangbang.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138952043 11295 80.91.229.2 (3 Feb 2006 07:34:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2006 07:34:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 03 08:34:01 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 1F4vSB-0000y0-10 for ged-emacs-devel@m.gmane.org; Fri, 03 Feb 2006 08:33:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4vVI-0000rh-Ro for ged-emacs-devel@m.gmane.org; Fri, 03 Feb 2006 02:37:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4mnC-0006Z9-Lx for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:19:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4mnA-0006Vf-Pz for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:19:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4mnA-0006Uw-Fi for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:19:04 -0500 Original-Received: from [217.169.11.184] (helo=thunk.shootybangbang.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F4mm4-0000Gj-50 for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:17:56 -0500 Original-Received: from thunk.shootybangbang.com (localhost [IPv6:::1]) by thunk.shootybangbang.com (8.13.3/8.13.3) with ESMTP id k12MFvnH001166; Thu, 2 Feb 2006 22:15:57 GMT Original-Received: (from jpw@localhost) by thunk.shootybangbang.com (8.13.3/8.13.3) id k12MFvr0001107; Thu, 2 Feb 2006 22:15:57 GMT X-Authentication-Warning: thunk.shootybangbang.com: jpw set sender to jpw@pobox.com using -f Original-To: "Drew Adams" X-Mailer: Norman X-Attribution: JPW X-Face: #uahb@^mo@bA"{q'"a4y[w$n3/V:haD\; YenWcT7)kXYx3/>#[DD9ExVe}; 9FG6X`l!Dm"V peub=u!&&?}s~{TOPtGdH)KA}/qCr; d"Gr*'9_V1PE@+K'tk2/Iq@PBKtJ+]&,CP9_Fl8'*R]LCR0| 6q; Xey'`:DX+)S.]p[KP^sNe`8B\W6(Nw{o5i)y+I!h=0bU5L`Tj`~Q0!G"t(s7o7eh)J\>P>,!~/w $$jGEVa%H%8(jTv In-Reply-To: (Drew Adams's message of "Thu, 2 Feb 2006 09:09:54 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) X-Mailman-Approved-At: Fri, 03 Feb 2006 02:22:50 -0500 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:49958 Archived-At: "Drew Adams" writes: > The problem (annoyance) is that with many (all?) such mice it is easy to > accidentally press the wheel while trying to rotate it (the rotation finger [...] > WDOT? Is this something that could be tackled before the release? If not, > could we put it on the to-do list for after the release? That sounds like a cool feature that Kim added yonks ago (see ChangeLog entry below). It seems to work here. 2002-11-29 Kim F. Storm * mwheel.el: Avoid accidental yanking of text while scrolling with the mouse wheel. This adds a short period after each mouse wheel scroll event where a click on the mouse wheel button is ignored. (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs. (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars. (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns. (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook. Start mwheel-inhibit-click-event-timer with timeout handler mwheel-inhibit-click-timeout.