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

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

bug#16196: 24.3.50; Disable ding when scrolling


From: Eli Zaretskii
Subject: bug#16196: 24.3.50; Disable ding when scrolling
Date: Fri, 20 Dec 2013 12:43:09 +0200

> Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>
> From: Jan Djärv <jan.h.d@swipnet.se>
> Date: Fri, 20 Dec 2013 11:26:18 +0100
> 
> (setq mwheel-scroll-up-function
>      '(lambda (amt)
>         (if (< (window-end) (point-max)) (scroll-up amt))))
> 
> (setq mwheel-scroll-down-function
>      '(lambda (amt)
>         (if (> (window-start) (point-min)) (scroll-down amt))))
> 
> This does what this bug report talks about, except in the horizontal 
> direction. So it can't be that hard. 

Did you try that when the beginning or the end of the buffer is a
large image, or a line with a font so large it doesn't fit in the
window?

In any case, if the issue is limited to wheel scrolling, it might
indeed be simpler.  I thought you were suggesting to disable the error
for any type of scrolling, not just by the mouse wheel.





reply via email to

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