From: Noam Postavsky <npostavs@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: marcowahlsoft@gmail.com, 36494@debbugs.gnu.org
Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob
Date: Thu, 04 Jul 2019 14:59:46 -0400 [thread overview]
Message-ID: <85o929eicd.fsf@gmail.com> (raw)
In-Reply-To: <80277bb2-d964-4930-ae91-0f0e96ed3124@default> (Drew Adams's message of "Thu, 4 Jul 2019 08:50:54 -0700 (PDT)")
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).
next prev parent reply other threads:[~2019-07-04 18:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<84ftnmjc37.fsf@gmail.com>
[not found] ` <<83d0iqaqvh.fsf@gnu.org>
2019-07-04 15:50 ` bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob Drew Adams
2019-07-04 18:59 ` Noam Postavsky [this message]
2019-07-04 22:28 ` Drew Adams
2019-07-04 11:03 marcowahlsoft
2019-07-04 13:09 ` Eli Zaretskii
2019-07-04 13:33 ` Marco Wahl
2019-07-04 16:28 ` Eli Zaretskii
2019-07-04 20:59 ` Marco Wahl
2019-07-04 21:07 ` Marco Wahl
2019-07-13 7:37 ` Eli Zaretskii
2019-07-13 20:10 ` Marco Wahl
2019-07-14 6:25 ` Eli Zaretskii
2019-07-04 20:13 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85o929eicd.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=36494@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=marcowahlsoft@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).