From: "Robert Thorpe" <rthorpe@realworldtech.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Mouse Scroll.
Date: 29 Mar 2007 11:48:53 -0700 [thread overview]
Message-ID: <1175194133.016299.4670@d57g2000hsg.googlegroups.com> (raw)
In-Reply-To: <1175129879.195404.156070@r56g2000hsd.googlegroups.com>
On Mar 29, 1:57 am, "Daniel" <hanm...@gmail.com> wrote:
> Hi All,
>
> I want to scroll just one line when I spin the mouse wheel. I know I
> can do it with SHIFT key, but it is tedious to hold SHIFT every time.
>
> I have found mwheel.el, and modified like this:
>
> (defcustom mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control) .
> nil))
>
> Also, I byte-compile-file mwheel.el, but it does not seem to work.
Have you put (mwheel-install) in your .emacs?
> What I want is just to scroll only one line when I spin the wheel. How
> can I do this?
I think the reason your code doesn't work is that, using Emacs 21.3,
[mouse-4] and [mouse-5] only represent the wheel on X11, not on MS
Windows. On MS Windows the signal is different.
On the current CVS version of Emacs this inconsistency has been
removed and your code would work fine.
> (BTW, why emacs is so hard to use? It is very less intuitive to use.)
Sigh, It's a long story.
next prev parent reply other threads:[~2007-03-29 18:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-29 0:57 Mouse Scroll Daniel
2007-03-29 18:48 ` Robert Thorpe [this message]
2007-03-30 2:42 ` Daniel
2007-03-30 14:17 ` jmg3000
2007-04-02 9:55 ` Robert Thorpe
2007-03-30 7:00 ` Thien-Thi Nguyen
2007-04-01 16:20 ` Daniel
2007-03-31 18:40 ` Chris F.A. Johnson
2007-04-01 16:25 ` Daniel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1175194133.016299.4670@d57g2000hsg.googlegroups.com \
--to=rthorpe@realworldtech.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).