From: Leonardo Dagnino <leodag.sch@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 49891@debbugs.gnu.org
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: Sun, 8 Aug 2021 03:10:05 -0300 [thread overview]
Message-ID: <CANtbE_ytz839wj+0bvQ6XLryoH-QhmgHFjamUmCBSugmrqKx+A@mail.gmail.com> (raw)
In-Reply-To: <83lf5fhusl.fsf@gnu.org>
It is fixed indeed, tested with multiple values and seems to be
working as expected in all cases.
Thanks for the quick fix!
Em sex., 6 de ago. de 2021 às 04:55, Eli Zaretskii <eliz@gnu.org> escreveu:
>
> > 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.
--
Leonardo Dagnino
next prev parent reply other threads:[~2021-08-08 6:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 3:32 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 Leonardo Dagnino
2021-08-06 7:55 ` Eli Zaretskii
2021-08-08 6:10 ` Leonardo Dagnino [this message]
2021-08-08 6:34 ` Eli Zaretskii
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=CANtbE_ytz839wj+0bvQ6XLryoH-QhmgHFjamUmCBSugmrqKx+A@mail.gmail.com \
--to=leodag.sch@gmail.com \
--cc=49891@debbugs.gnu.org \
--cc=eliz@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).