[Top][All Lists]

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

Re: setting #rows for mouse wheel

From: Stein A. Stromme
Subject: Re: setting #rows for mouse wheel
Date: Tue, 23 Dec 2003 15:48:44 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)


| How do I make the mouse wheel scroll a given number of rows at a
| time. Is it even possible to configure # pixels to scroll?

You may customize the variable mwheel-scroll-amount.  I'd be
surprised if you can scroll by pixels, though.

I found this by doing C-h k <scroll down>, which told me which
function was bound to <mouse-5>.  The Help buffer shows

    <mouse-5> (translated from <down-mouse-5> <mouse-5>) at that spot
       runs the command mwheel-scroll which is an interactive compiled
       Lisp function in `mwheel'.  It is bound to <C-mouse-4>,
       <S-mouse-4>, <mouse-4>, <C-mouse-5>, <S-mouse-5>, <mouse-5>.
       (mwheel-scroll EVENT)

    Scroll up or down according to the EVENT.
    This should only be bound to mouse buttons 4 and 5.


Middle-clicking the underlined `mwheel' took me straight to that
function's definition.

Another way to find this is doing C-h a wheel, which gives similar

Take some time to learn the Emacs help system and documentation; it
is quite good.

Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt              
Johs Brunsg 12, N-5008 BERGEN           address@hidden

reply via email to

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