bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49891: 28.0.50; Automatic hscroll does not consider line numbers whe


From: Eli Zaretskii
Subject: bug#49891: 28.0.50; Automatic hscroll does not consider line numbers when checking hscroll-margin, causing point to get stuck in the margin when using a small hscroll-step
Date: Fri, 06 Aug 2021 10:55:06 +0300

> From: Leonardo Dagnino <leodag.sch@gmail.com>
> Date: Thu, 5 Aug 2021 00:32:25 -0300
> 
> Steps to reproduce in emacs -Q:
> (display-line-numbers-mode)
> (setq truncate-lines t
>   hscroll-step 1)
> (insert-char ?a 200)
> 
> Then press left arrow until point gets in hscroll-margin. The point
> will be inside the margin, at buffer's column hscroll-margin minus
> display-line-numbers's current width. Even pressing right arrow still
> has point inside the margin, triggering the bug again, making it
> "stuck" at that column.

Thanks, this should be fixed now on the master branch; please test.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]