unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* setting #rows for mouse wheel
@ 2003-12-23 14:30 user
  2003-12-23 14:48 ` Stein A. Stromme
  0 siblings, 1 reply; 3+ messages in thread
From: user @ 2003-12-23 14:30 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: setting #rows for mouse wheel
  2003-12-23 14:30 setting #rows for mouse wheel user
@ 2003-12-23 14:48 ` Stein A. Stromme
  2003-12-23 14:50   ` Stein A. Stromme
  0 siblings, 1 reply; 3+ messages in thread
From: Stein A. Stromme @ 2003-12-23 14:48 UTC (permalink / raw)


[user@domain.invalid]

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

    [back]

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

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

SA
-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt               www.mi.uib.no/stromme/         
Johs Brunsg 12, N-5008 BERGEN           stromme@mi.uib.no

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: setting #rows for mouse wheel
  2003-12-23 14:48 ` Stein A. Stromme
@ 2003-12-23 14:50   ` Stein A. Stromme
  0 siblings, 0 replies; 3+ messages in thread
From: Stein A. Stromme @ 2003-12-23 14:50 UTC (permalink / raw)


[Stein A. Stromme]

| I found this by doing C-h k <scroll down>, which told me which

By this I meant: Type C-h k and then turn the mouse wheel down.

SA
-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt               www.mi.uib.no/stromme/         
Johs Brunsg 12, N-5008 BERGEN           stromme@mi.uib.no

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-23 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23 14:30 setting #rows for mouse wheel user
2003-12-23 14:48 ` Stein A. Stromme
2003-12-23 14:50   ` Stein A. Stromme

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