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

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

bug#45837: 28.0.50; incorrect cursor position in visual-line-mode when w


From: Eli Zaretskii
Subject: bug#45837: 28.0.50; incorrect cursor position in visual-line-mode when word-wrap-by-category is t
Date: Wed, 13 Jan 2021 16:47:48 +0200

> From: Liu Hui <liuhui1610@gmail.com>
> Date: Wed, 13 Jan 2021 10:27:24 +0800
> 
> Steps to reproduce:
> 1. emacs -Q
> 2. eval the following code in the *scratch* buffer:
> 
>     (with-current-buffer-window "*test*" nil nil
>       (dotimes (_ 3)
>         (dotimes (i 10)
>           (insert "一二三四五六七八九十"))
>         (dotimes (i 20)
>           (insert "test ")))
>       (setq word-wrap-by-category t)
>       (visual-line-mode))
> 
> 3. In the *test* buffer, C-a/C-e don't always move the cursor to the
> beginning/end of screen line. There is also an offset between the mouse
> click location and the cursor position. If there seems to be no problem,
> you can adjust the window width and recheck the cursor movement.

Thanks, should be fixed now.





reply via email to

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