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: Noam Postavsky
Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob
Date: Thu, 04 Jul 2019 14:59:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt)

Drew Adams <drew.adams@oracle.com> writes:

> (global-set-key [S-down] (lambda () (interactive) (scroll-up   1)))
> (global-set-key [S-up]   (lambda () (interactive) (scroll-down 1)))
>
> (But named functions are better than anonymous ones, for key binding.
> And yes, it would be good to let a numeric prefix arg scroll that
> many lines.)

I think you're looking for scroll-up-line and scroll-down-line
(introduced in 24.1).






reply via email to

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