Subject: Re: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob

From: Marco Wahl <[email-masked]>
Date: Thu, 04 Jul 2019 22:59:11 +0200

Eli Zaretskii <[email-masked]> writes:

>> From: Marco Wahl <[email-masked]>
>> Cc: [email-masked],  [email-masked]
>> Date: Thu, 04 Jul 2019 15:33:38 +0200
>> 
>> > How about if we bind S-DOWN and S-UP to commands that scroll to EOB
>> > without introducing any new option?  That would mimic pages like Less
>> > which stop at EOB with an unshifted key, but continue scrolling with a
>> > shifted key.
>> 
>> That sounds good to me.  Also the mimicing of similar features elsewhere.  
>
> Would you like to submit a patch along those lines?

Please see the attempt in the attachment.

There is one new function `scroll-lock-next-line-always-scroll' which
gets bound to S-down.  Further there are a few tests for this function.

AFAICS the up command needs no special handling with regards to
scroll-lock-mode.