emacs-devel
[Top][All Lists]
Advanced

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

Re: scroll-conservatively overflow


From: Richard Stallman
Subject: Re: scroll-conservatively overflow
Date: Sat, 17 Apr 2004 15:42:07 -0400

    > That used to work; now it doesn't (although I'm not sure it is because
    > of a recent change or I just took a time to notice), because
    > scroll-conservatively gets multiplied by FRAME_LINE_HEIGHT (f) in a
    > couple of places, and that causes an overflow.

    That change was made almost a year ago...

Multiplying by FRAME_LINE_HEIGHT is right in principle, but the
overflow is a bug.  Perhaps we should use long long for that
multiplication, and if the result is bigger than the largest positive
integer, reduce it to the largest positive integer.




reply via email to

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