Subject: Re: bug#31875: 27.0.50; setting display-line-numbers to 'visual breaks next-/previous-line

From: Eli Zaretskii <[email-masked]>
Date: Mon, 18 Jun 2018 19:41:05 +0300

> From: Berkan Eskikaya <[email-masked]>
> Date: Mon, 18 Jun 2018 01:12:23 +0100
> 
> $ emacs -Q
> 
> M-x eval-expression
> 
> Eval: (setq display-line-numbers 'visual) 
> 
> ;; now, enter three identical number rows into the scratch buffer
> 
> 123456789 RET
> 123456789 RET
> 123456789
> 
> C-r 5 RET ; go to number 5 on the third line
> 
> C-p ; try to move one line up.. the cursor will jump back 4 places, to number 1 on the second line

Thanks.  This problem exists on the emacs-26 branch as well, so I
fixed it there (to be merged to master soon).