Subject: Re: bug#68786: 30.0.50; Horizontal overscroll

From: Andrey Listopadov <[email-masked]>
Date: Wed, 31 Jan 2024 19:40:02 +0300

Eli Zaretskii <[email-masked]> writes:

> That calculation is in xdisp.c:set_horizontal_scroll_bar, which also
> sets the size of the scroll-bar thumb.

After a bit of testing, it appears that it uses the same naive kind of
calculation that I tried to use for the advice in the beginning, but it
doesn't play nicely with scaled fonts and the
`display-line-numbers-mode'.  The scrollbar doesn't scroll all the way
in this configuration.  Comments in the `truncated-lines-p' function
that I sent describe the reasons why simple calculation like that did
not work.

--
Andrey Listopadov