help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse Scroll.


From: Daniel
Subject: Re: Mouse Scroll.
Date: 29 Mar 2007 19:42:40 -0700
User-agent: G2/1.0

On Mar 29, 11:48 am, "Robert Thorpe" <address@hidden>
wrote:
> On Mar 29, 1:57 am, "Daniel" <address@hidden> 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?

- No, I am using Ubuntu 6.10 (Edgy), and using apt-get, I installed
emacs-snapshot (version 22.0.50.1).

>
> > 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.

- As I said, I am not using MS Windows.

>
> 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.

- Yeah, long story. However, I am trying to use it for work. Thanks.

Daniel.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]