From: Kevin Liu <kevin@nivekuil.com>
To: 42653@debbugs.gnu.org
Subject: bug#42653: 28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode
Date: Sat, 01 Aug 2020 03:39:57 -0700 [thread overview]
Message-ID: <87r1sqtzsy.fsf@nivekuil.com> (raw)
This has been a bug since at least 24.x, and I think Eli even fixed
something like it once before:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-11/msg00838.html
This problem is a little different because it involves scroll-margin.
When scrolling up, the cursor will seem to ignore it until it hits the
top, and then jumps back down to the margin.
To quickly reproduce this, run emacs -Q and then eval
(progn
(global-hl-line-mode)
(setq scroll-margin 5)
(setq scroll-conservatively 101)
(view-hello-file)
(end-of-buffer))
Then (previous-line) until you see the problem.
Further reference:
- https://emacs.stackexchange.com/questions/48340/line-numbers-break-scroll-margin
- https://github.com/syl20bnr/spacemacs/issues/8224
next reply other threads:[~2020-08-01 10:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-01 10:39 Kevin Liu [this message]
2020-08-01 16:44 ` bug#42653: 28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode Eli Zaretskii
2020-08-01 17:32 ` Kevin Liu
2020-08-02 15:33 ` Eli Zaretskii
2020-08-02 20:24 ` Kevin Liu
2020-08-03 2:28 ` Eli Zaretskii
2020-08-03 3:18 ` Kevin Liu
2020-08-03 14:57 ` Eli Zaretskii
2020-09-10 21:18 ` bug#42653: Emacs now recentering very aggressively Dale Sedivec
2020-09-11 10:29 ` Lars Ingebrigtsen
2020-09-12 8:08 ` Eli Zaretskii
2022-02-09 9:49 ` bug#42653: 28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode Lars Ingebrigtsen
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=87r1sqtzsy.fsf@nivekuil.com \
--to=kevin@nivekuil.com \
--cc=42653@debbugs.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 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).