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:49:28 -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> <29552883E608471BA2ACB9004FAD7FDC@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 1326568109 14495 80.91.229.12 (14 Jan 2012 19:08:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2012 19:08:29 +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:26 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 1Rm8xi-0007mE-Cn for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 20:08:22 +0100 Original-Received: from localhost ([::1]:51167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm8xh-0006tw-Jj for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 14:08:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7jj-00019k-J7 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:49:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7ji-0005PR-Gh for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:49:51 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:35417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7ji-0005PK-8c for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:49:50 -0500 Original-Received: by lagj5 with SMTP id j5so1037111lag.0 for ; Sat, 14 Jan 2012 09:49:49 -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=ubuKjSIxPVqYHe6gnHonZiU7G4f/IOjPAopwvtT5BtA=; b=FLZIv/vocJUAjRDDT0kKDt8f3Y+VhL/3gjaSYAbp1T8K6BmvCYYmVaqLhbeTIJarVz FNbYZgdWjIpXxwdM/VCrKcfH7gc9R+IrAhXNM2MALjn1lXs4MbZejGHlxQHVv+yRaJII 3nAZKJYv/QCVKrdj4H8Cw7cmHLW9DIj9njXjY= Original-Received: by 10.152.111.201 with SMTP id ik9mr2793458lab.8.1326563389141; Sat, 14 Jan 2012 09:49:49 -0800 (PST) Original-Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 09:49:28 -0800 (PST) In-Reply-To: <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> 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:83497 Archived-At: On Sat, Jan 14, 2012 at 10:37 AM, Drew Adams 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. > > 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 tha= t is > wrong. =A0It needs to be an alist or a number representing the fraction o= f the > screen to scroll. OK, it's not literally the integer 1. It's (mouse-wheel-scroll-amount (quote (1))), which I did set through customize. > > Use `M-x customize-option' to change the option - do not just `setq' it t= o an > integer value. =A0Read the variable's doc (`C-h v'). > >> If 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). > > Wrt keystroke echoing, you can use `echo-keystrokes', as I mentioned. > You also have `C-h l', to see the last 100 keystrokes. echo-keystrokes only seems to work within some lisp code, which I unfortunately am not good enough with yet to do anything useful. C-h l doesn't seem to show mouse events. Aaron Meurer > >> 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. >