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

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

bug#6671: moving point and scroll-conservatively


From: Juanma Barranquero
Subject: bug#6671: moving point and scroll-conservatively
Date: Thu, 24 Mar 2011 21:56:07 +0100

On Thu, Mar 24, 2011 at 21:01, Chong Yidong <address@hidden> wrote:

> Here's a more concrete proposal.  We change scroll-conservatively to
> accept a new value, t, which means "scroll as far as you need".  Then
> try_scrolling can use the "try scrolling for 10 lines" heuristic before
> failing.  In this specific case, a failure changes centering_position,
> adjusting the window start as though we had really scrolled the full
> amount.

What does that mean, in terms of behavior?

> However, it's become idiomatic to set scroll-conservatively to a large
> number.

Because the doc suggested it.

> To cope with this,
> let's change the meaning of numeric values of scroll-conservatively: if
> it's larger than (say) 300, that is equivalent to t (infinity).

That's a bit hackish. IMHO, if you do change `scroll-conservatively'
as suggested, just document the new values and let people change it.

    Juanma





reply via email to

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