emacs-devel
[Top][All Lists]
Advanced

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

Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering


From: Stefan Monnier
Subject: Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering comparisson between emacs23 and emacs26.3
Date: Mon, 20 Apr 2020 13:39:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> > So "C-2 C-n" would behave differently from "C-n C-n", or from running
>> > a macro that records 2 C-n in a row?  Is that a good thing?
>> Is scroll-conservatively is 1, 'C-2 C-n' should behave differently at 
>> the bottom of the window from 'C-n C-n'.
> Why?

Because that's how `scroll-conservatively` was defined.

> they both move point by 2 lines.

Overall, yes.  But one of the commands moves by 2 lines where the other
(identical) two only move by one line.

> We'll have to disagree, I guess.  I personally don't care much about
> scroll-conservatively, although I did spend some hours making it
> behave like others requested.

Indeed, you implemented the "boolean" interpretation of
`scroll-conservatively` which seems to be what most users wanted.
But this discussion is about the case where `scroll-conservatively` is
purposefully set to a small non-0 value meaning that the user expects
conservative scrolling only when it's just a matter of moving by
a few lines (e.g. by 1 line).

I don't care much about `scroll-conservatively` either, FWIW (I'm not
in love with the default "recenter" either by the way, but
`scroll-conservatively` isn't any better.  Maybe we can get closer to my
"ideal", but I think my real ideal requires a lot of intelligence and
predictive power).


        Stefan




reply via email to

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