unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: 32177@debbugs.gnu.org
Subject: bug#32177: Current line number shifts one column to the left.
Date: Mon, 16 Jul 2018 21:20:04 +0300	[thread overview]
Message-ID: <83fu0j82ln.fsf@gnu.org> (raw)
In-Reply-To: <m24lgz84mr.wl%esq@lawlist.com> (message from Keith David Bershatsky on Mon, 16 Jul 2018 10:36:12 -0700)

> Date: Mon, 16 Jul 2018 10:36:12 -0700
> From: Keith David Bershatsky <esq@lawlist.com>
> 
> 1.  Launch a newly built GUI version of Emacs master branch (07/16/2018).
> 
> 2.  WINDOWS XP -- GUI Emacs:  From the *GNU Emacs* welcome screen, type M-: and evaluate the following:
> 
>     (progn
>       (switch-to-buffer (get-buffer-create "foo"))
>       (setq header-line-format "foo")
>       (display-line-numbers-mode 1)
>       (setq bidi-display-reordering nil)
>       (dotimes (i 57)
>         (insert "\n"))
>       (recenter 1)
>       (sit-for 1)
>       (insert "@"))
> 
> [OR]
> 
> 2.  OSX 10.6.8 GUI Emacs:  From the *GNU Emacs* welcome screen, type M-: and evaluate the following:
> 
>     (progn
>       (switch-to-buffer (get-buffer-create "foo"))
>       (setq header-line-format "foo")
>       (display-line-numbers-mode 1)
>       (setq bidi-display-reordering nil)
>       (dotimes (i 50)
>         (insert "\n"))
>       (recenter 1)
>       (sit-for 1)
>       (insert "@"))
> 
> 3.  Observe that line number 58 (on Windows XP), or line number 51 (on OSX 10.6.8), shifts one column to the left of where it should be.  Here is a link to a screenshot depicting the bug with both versions of Emacs (Windows / OSX):
> 
> https://www.lawlist.com/images/bug_07_16_2018.png

Actually, the screenshot shows that line number 57 is to the right of
where it should have been.

In any case, I cannot reproduce this here, not in "emacs -Q", not on
master and not on the emacs-26 branch.

Why did you need to turn off bidi-display-reordering?  Does the
problem go away when you don't do that?





  reply	other threads:[~2018-07-16 18:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16 17:36 bug#32177: Current line number shifts one column to the left Keith David Bershatsky
2018-07-16 18:20 ` Eli Zaretskii [this message]
2018-07-16 18:40   ` Eli Zaretskii
2018-07-21 10:34     ` Eli Zaretskii
2018-07-16 20:33 ` Keith David Bershatsky
2018-07-17  2:30   ` Eli Zaretskii
2018-07-16 22:16 ` Keith David Bershatsky

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=83fu0j82ln.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32177@debbugs.gnu.org \
    --cc=esq@lawlist.com \
    /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).