GNU bug report logs -
#42653
28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode
Previous Next
Reported by: Kevin Liu <kevin <at> nivekuil.com>
Date: Sat, 1 Aug 2020 16:27:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 42653 <at> debbugs.gnu.org (full text, mbox):
Dale Sedivec <dale <at> codefu.org> writes:
> 2. Display anything in the header line: (setq-default header-line-format "foo"
[...]
> Expected behavior: Point is sitting at the bottom line of the window
> no matter how many times you page up
>
> Observed behavior: The window is recentered, usually after ever page
> up, with a slight delay
Ah! So that's what this is. I spent some time the other day tracking
down why this was happening in erc buffers, so I was looking at recent
erc changes. But erc is one of the few modes I have with a header line
that I sometimes scroll back in, so that explains it.
> I can stop this from happening with (setq scroll-conservatively 101),
> so perhaps the behavior is intentional? However, the fact that point
> stays at the bottom of the window for a brief instant, and then only
> recenters when (I am **guessing**) which-func-update runs leads me to
> believe this is unintentional behavior.
Yes, it's definitely unintentional.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.