[Top][All Lists]

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

Re: Annoying recentering when scrolling down

From: Chong Yidong
Subject: Re: Annoying recentering when scrolling down
Date: Fri, 22 Aug 2008 17:32:02 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.90 (gnu/linux)

"Juanma Barranquero" <address@hidden> writes:

> On Fri, Aug 22, 2008 at 20:50, Chong Yidong <address@hidden> wrote:
>> Could you check if you have scroll-margin on?  (This wasn't mentioned in
>> your original post)?
> Because it is at the default value, 0.
>> Also, is there a way to reproduce this problem?
> In my setup, it is 100% repeatable.
> I start Emacs with the following .emacs:
> ;;;; .emacs starts here
> (setq scroll-preserve-screen-position 'always
>       scroll-conservatively           most-positive-fixnum
>       scroll-step                     0)
> ;;;; .emacs ends here
> then I visit NEWS with C-h C-n, press <down> and keep it so. At first
> it scrolls line by line; after a while it starts recentering.

Looks like this value of scroll-conservatively is causing an integer
overflow in scroll_conservatively, due to different maximum sizes of
EMACS_INT and int.  Bleah.  I'll take a look.

reply via email to

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