When I enable the three modes in the title, moving up and down with the arrow keys places the cursor in the wrong column when on a line with substituted symbols. The offset seems to be related to the org-indent depth.
I've searched and searched but have not found a solution other than disabling one of the three modes.
Here's a minimal repro. Anyone dealt with this in their config or have advice on how to hunt down the problem? I'm not even sure which project to make a bug report in.
(use-package org
:mode (("\\.org$" . org-mode))
:ensure org-plus-contrib
:hook ((org-mode . org-indent-mode) (org-mode . visual-line-mode))
; alternatively, comment the following lines and uncomment org-modern
:config
(add-to-list 'font-lock-extra-managed-props 'display)
(font-lock-add-keywords 'org-mode '(("^\\(-\\)\\( \\)" 1 '(face nil display "•"))))
)
; (use-package org-modern
; :ensure t
; :after org
; :hook ((org-mode . (lambda () (org-modern-mode)))))
Try on this file. When the cursor is on item 1 (which has a prettified bullet), moving down to item 2, then up again places the cursor 2 to the right of where it was before.
* asd
- item 1
- item 2