all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Noam Postavsky <npostavs@gmail.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, 4 Jul 2019 15:28:22 -0700 (PDT)	[thread overview]
Message-ID: <28a2db2e-0742-49f7-8f97-3ac3874e032c@default> (raw)
In-Reply-To: <85o929eicd.fsf@gmail.com>

> > (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).

Exactly.  (I use the above also with old Emacs releases,
and didn't bother to define a named command for it.)





  reply	other threads:[~2019-07-04 22:28 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
2019-07-04 22:28       ` Drew Adams [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28a2db2e-0742-49f7-8f97-3ac3874e032c@default \
    --to=drew.adams@oracle.com \
    --cc=36494@debbugs.gnu.org \
    --cc=marcowahlsoft@gmail.com \
    --cc=npostavs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.