emacs-devel
[Top][All Lists]
Advanced

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

Re: The unwarranted scrolling assumption


From: Eli Zaretskii
Subject: Re: The unwarranted scrolling assumption
Date: Sat, 19 Jun 2010 14:36:17 +0300

> Date: Sat, 19 Jun 2010 12:51:20 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: Chong Yidong <address@hidden>, address@hidden
> 
> > From: Stefan Monnier <address@hidden>
> > Cc: address@hidden
> > Date: Fri, 18 Jun 2010 14:30:11 -0400
> > 
> > > According to my reading, it stops the search for point if it is more
> > > than 10 lines below (resp above) the scroll margin.  The reason is
> > > speed, as the comment says.  Can we safely assume that whoever sets
> > > scroll-conservatively to the maximum value gives up this speed
> > > consideration?
> > 
> > I think so, yes.
> 
> OK.  I installed a change along these lines (revno 100619).  It
> actually goes a tad farther, in that it computes the limit for
> searching for point from the values of scroll-conservatively and
> scroll-step, even when scroll-conservatively is less than
> most-positive-fixnum, instead of using an arbitrary limit of 10 screen
> lines.

With this change, there are still situations where Emacs occasionally
recenters.  Disabling font-lock-mode does not help.

I've found a file with which I can reproduce this reliably by just
leaning on the <down> arrow.  I'm working on trying to find out why
this happens.



reply via email to

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