From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 09:37:52 -0800 Message-ID: <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326562698 12816 80.91.229.12 (14 Jan 2012 17:38:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2012 17:38:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Aaron Meurer'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 14 18:38:14 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rm7YU-0006AC-HA for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 18:38:14 +0100 Original-Received: from localhost ([::1]:47668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7YT-0007IZ-ON for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 12:38:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:60055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7YP-0007IU-Aa for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7YO-0003Np-2R for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:09 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:63701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7YN-0003NN-Sv for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:08 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0EHc0aa015359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Jan 2012 17:38:01 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0EHbxSh022550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2012 17:37:59 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0EHbwKv024879; Sat, 14 Jan 2012 11:37:59 -0600 Original-Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 09:37:58 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczS4bHWrA4u5wVWTA2FBFLds6v9vwAALx4g X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090209.4F11BD79.0080,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83491 Archived-At: > The problem I'm encountering is that when I scroll by the smallest > amount with the mouse, it scrolls by two lines. I have the > mouse-wheel-scroll-amount set to 1. I'm no expert on this - perhaps someone else can help more. But if the value of `mouse-wheel-scroll-amount' is 1 (or 2 etc.) then that is wrong. It needs to be an alist or a number representing the fraction of the screen to scroll. Use `M-x customize-option' to change the option - do not just `setq' it to an integer value. Read the variable's doc (`C-h v'). > If I set it to 2, it scrolls by > 4, and so on. vim does the same thing, so I suspect that what's > happening is that a single scroll is being reported as two. > But the > only way to be sure would be to get something that echos all > keystrokes, so I could see if a single scroll is really being reported > as two mouse-5 events. C-h k won't work for this, because it only > would show the first such event (if my theory is correct). Wrt keystroke echoing, you can use `echo-keystrokes', as I mentioned. You also have `C-h l', to see the last 100 keystrokes. > Actually, I think I figured out that it's correct anyway, because I > did C-h k and then scrolled up, and it showed me the help for mouse-5 > *and then* scrolled the document up by exactly one line. > > So I'll be reporting this as a bug to iTerm2. I'll post back here if > I find a solution.