unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, marcowahlsoft@gmail.com
Cc: 36494@debbugs.gnu.org
Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob
Date: Thu, 4 Jul 2019 08:50:54 -0700 (PDT)	[thread overview]
Message-ID: <80277bb2-d964-4930-ae91-0f0e96ed3124@default> (raw)
In-Reply-To: <<83d0iqaqvh.fsf@gnu.org>>

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

Yes.  Some of us have been doing that individually (and not
using `scroll-lock-mode').

E.g.:
(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.)





       reply	other threads:[~2019-07-04 15:50 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   ` Drew Adams [this message]
2019-07-04 18:59     ` bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob Noam Postavsky
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=80277bb2-d964-4930-ae91-0f0e96ed3124@default \
    --to=drew.adams@oracle.com \
    --cc=36494@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --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).