Selecting text in prettify-symbols-mode in Evil visual mode:
Suppose the text is \alpha\beta\gamma, prettified as αβγ.
Selecting from right to left typing h in visual mode will select γ, next βγ and αβγ, which is as desired.
Selecting from left to right typing l in visual mode, however, selects \, then \a, next α\b, and αβ\g. This is not desired… This faulty behavior causes issues when yanking, deleting, substituting, … text, unfortunately.
The basic movements h and l should both respect prettify. Would be nice to have this behavior corrected – thanks!
I use prettify when writing LaTeX in Emacs. Here is the list from emacs' AUCTeX.
Issue type
Issue
Selecting text in
prettify-symbols-mode
in Evil visual mode: Suppose the text is\alpha\beta\gamma
, prettified asαβγ
. Selecting from right to left typingh
in visual mode will selectγ
, nextβγ
andαβγ
, which is as desired. Selecting from left to right typingl
in visual mode, however, selects\
, then\a
, nextα\b
, andαβ\g
. This is not desired… This faulty behavior causes issues when yanking, deleting, substituting, … text, unfortunately. The basic movementsh
andl
should both respect prettify. Would be nice to have this behavior corrected – thanks!I use prettify when writing LaTeX in Emacs. Here is the list from emacs' AUCTeX.