-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evil-scroll-down cannot make it to the end of the file #618
Comments
Original comment by Wouter Bolsterlee (Bitbucket: wbolster, GitHub: wbolster): i'm encountering the same issue. it looks like my scroll settings influence the number of lines left at the end (the "unscrollable" lines).
setting |
Original comment by Wouter Bolsterlee (Bitbucket: wbolster, GitHub: wbolster): it looks like this change helps:
|
Original comment by Frank Fischer (Bitbucket: lyro, GitHub: lyro): For some reason I cannot reproduce the problem. Can somebody provide a reproducible example? Preferably starting with |
Original comment by Frank Fischer (Bitbucket: lyro, GitHub: lyro): Could you please give a more detailed example? File content (might be
) and the number of lines of your windows (terminal might be better |
Original comment by Wouter Bolsterlee (Bitbucket: wbolster, GitHub: wbolster): on a 80x25 terminal window:
hit ctrl-d repeatedly. scrolling refuses to go below the line containing the number 95. note that i have this in my
|
Original comment by Sooheon Kim (Bitbucket: sooheon, GitHub: sooheon): @wbolster Even when |
Original comment by reed1 (Bitbucket: reed1, GitHub: reed1): I'm using Emacs: 24.5.1 with latest evil (v 1.2.10, changeset: 1774:7456d7013801), empty emacs, just evil, when on GUI mode and terminal mode, still can't scroll down to the bottom (Using |
Original comment by Magnus Therning (Bitbucket: magthe, GitHub: magthe): Could this fix syl20bnr/spacemacs#5643 as well? |
* based on window positions * handle visual line mode reasonably * deal with scroll-margin at buffer boundaries
Reverts commit bbe92d1 (Handle scroll margin in scroll-to-top/bottom functions (re emacs-evil#618), 2016-03-31) which introduced a bug in evil-scroll-bottom-line-to-top (due to recenter argument becoming negative.) recenter itself has clamped to scroll_margin for at least 18 years now, so it is unclear why that commit was even necessary. Also fixes the docstring for evil-scroll-top-line-to-bottom and avoids scanning down from (point-min) to the line the point is already at.
Reverts commit bbe92d1 (Handle scroll margin in scroll-to-top/bottom functions (re #618), 2016-03-31) which introduced a bug in evil-scroll-bottom-line-to-top (due to recenter argument becoming negative.) recenter itself has clamped to scroll_margin for at least 18 years now, so it is unclear why that commit was even necessary. Also fixes the docstring for evil-scroll-top-line-to-bottom and avoids scanning down from (point-min) to the line the point is already at.
Originally reported by: Aaron Jensen (Bitbucket: aaronjensen1, GitHub: Unknown)
The new
C-d
works pretty well, but for some reason, it does not always make it to the end of the file. You getEnd of buffer
when you're still about 5-6 lines from the bottom.The text was updated successfully, but these errors were encountered: