From: Eli Zaretskii <eliz@gnu.org>
To: Evgeny Zajcev <lg.zevlg@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Scrolling up at the end of buffer
Date: Fri, 04 Dec 2020 14:25:14 +0200 [thread overview]
Message-ID: <83im9hep1x.fsf@gnu.org> (raw)
In-Reply-To: <CAO=W_ZqtFGfnWoQx1TAWFG2-0BeRps76i4LCnJaQaY6tjXv3hw@mail.gmail.com> (message from Evgeny Zajcev on Fri, 4 Dec 2020 14:57:23 +0300)
> From: Evgeny Zajcev <lg.zevlg@gmail.com>
> Date: Fri, 4 Dec 2020 14:57:23 +0300
>
> I've got nasty unexpected thing. Consider scenario in "emacs -q":
> 1) Open file that does not fit into Emacs window (C-x C-f /etc/services RET)
> 2) Goto bottom with M->
> 3) Show maximum content with C- - C-l (-1 arg to C-l)
> 4) At this moment point is at the `eobp`, nothing to be shown below the point, now press C-v
>
> I was expecting C-v to signal "End of buffer" error, however got ugly scrolling resulting in showing a single
> line at the top.
>
> Second C-v triggers "End of buffer"
>
> If I recenter with -2 argument to C-l, then C-v triggers "End of buffer" as expected.
>
> Is there something in Emacs I can set to stop behaving like this?
Set next-screen-context-lines to 1 or less?
(FWIW, I don't see this behavior as unexpected or "nasty".)
next prev parent reply other threads:[~2020-12-04 12:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 11:57 Scrolling up at the end of buffer Evgeny Zajcev
2020-12-04 12:25 ` Eli Zaretskii [this message]
2020-12-04 12:40 ` Evgeny Zajcev
2020-12-04 12:54 ` Eli Zaretskii
2020-12-04 13:52 ` Evgeny Zajcev
2020-12-04 15:43 ` Eli Zaretskii
2020-12-04 16:06 ` Christopher Dimech
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=83im9hep1x.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lg.zevlg@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.