From: Evgeny Zajcev <lg.zevlg@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Scrolling up at the end of buffer
Date: Fri, 4 Dec 2020 15:40:31 +0300 [thread overview]
Message-ID: <CAO=W_ZqG=tmLKGbDqmoCsHHgYyhxft=TiEHGP7OO5EXs9Gcd=g@mail.gmail.com> (raw)
In-Reply-To: <83im9hep1x.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
пт, 4 дек. 2020 г. в 15:25, Eli Zaretskii <eliz@gnu.org>:
> > 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?
>
>
Thanks! setting it to 0 does what I want
(FWIW, I don't see this behavior as unexpected or "nasty".)
>
It was unexpected default behaviour, because why scrolling if there is
nothing to show more?
--
lg
[-- Attachment #2: Type: text/html, Size: 1924 bytes --]
next prev parent reply other threads:[~2020-12-04 12:40 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
2020-12-04 12:40 ` Evgeny Zajcev [this message]
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='CAO=W_ZqG=tmLKGbDqmoCsHHgYyhxft=TiEHGP7OO5EXs9Gcd=g@mail.gmail.com' \
--to=lg.zevlg@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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.