From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Meurer Newsgroups: gmane.emacs.help Subject: Re: Mouse support does not work Date: Sat, 14 Jan 2012 10:46:32 -0700 Message-ID: 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326568095 14410 80.91.229.12 (14 Jan 2012 19:08:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2012 19:08:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 14 20:08:11 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 1Rm8xX-0007fF-Bd for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 20:08:11 +0100 Original-Received: from localhost ([::1]:50258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm8xW-0006PN-Ob for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 14:08:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7gu-0000qb-Ii for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:46:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7gt-0004xY-9M for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:46:56 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:34993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7gt-0004xN-1o for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:46:55 -0500 Original-Received: by lagj5 with SMTP id j5so1036217lag.0 for ; Sat, 14 Jan 2012 09:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=5uBe+mRG6G0BwSuGaxhL5zQjWmJkmk7KqTrgaJK8ZuI=; b=RAbw7LzZJ9hr8WUWL7Mp2sF4UZPtkCDzyj5Ec1cNn6GMFFwCsxtYdpxam4MpAnIZII Tu1SBxgEQvekS/qdE/FGNnRTfgYdrCKs3ta/9aD6KLQbiGK20AlJVpHLfWGrD9hDQyAC RzTTxCwmU9dx7Kw6CZrw1dor4NAcSt8MjS+UA= Original-Received: by 10.152.148.227 with SMTP id tv3mr2781575lab.15.1326563213211; Sat, 14 Jan 2012 09:46:53 -0800 (PST) Original-Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 09:46:32 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Sat, 14 Jan 2012 14:07:57 -0500 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:83496 Archived-At: Actually, I found another program that does what I want. urwid (https://github.com/wardi/urwid) has a input_test script that echos all the keystrokes. In this script, only one mouse scroll event is reported per scroll. So I don't know where the bug is at this point (though I am convinced that it is indeed a bug somewhere). Here's the iTerm2 bug I reported if anyone's interested (http://code.google.com/p/iterm2/issues/detail?id=3D1715). Aaron Meurer On Sat, Jan 14, 2012 at 10:26 AM, Aaron Meurer wrote: > The problem I'm encountering is that when I scroll by the smallest > amount with the mouse, it scrolls by two lines. =A0I have the > mouse-wheel-scroll-amount set to 1. =A0If I set it to 2, it scrolls by > 4, and so on. =A0vim 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. =A0C-h k won't work for this, because it only > would show the first such event (if my theory is correct). > > 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. =A0I'll post back here if > I find a solution. > > Aaron Meurer > > On Sat, Jan 14, 2012 at 9:53 AM, Drew Adams wrote= : >>> Going back to my scrolling problem, is there a way to echo all >>> keystrokes? =A0I mean, something similar to C-h k, except it echos >>> multiple keystrokes. =A0I suspect that either my trackpad or iTerm2 may >>> be reporting a single scroll as two scrolls, hence the multiplying by >>> two problem. >> >> Not sure what you are asking or what problem you are encountering, but m= aybe >> option `echo-keystrokes' will help? >>