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

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

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


From: Marco Wahl
Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob
Date: Thu, 04 Jul 2019 22:59:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Marco Wahl <marcowahlsoft@gmail.com>
>> Cc: marcowahlsoft@gmail.com,  36494@debbugs.gnu.org
>> 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.






reply via email to

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