avy
avy copied to clipboard
Small incompatibility with prettify-symbols-mode
Lately, I've been trying out prettify-symbols-mode in latex files, but an odd thing occurs.
If I have the following buffer contents:
Let $\beta=1$ \begin
It will be displayed like this:
Let $β=1$ \begin
- If I invoke
avy-goto-word-1on\, thatβwill be temporarily displayed as\betaand I am given the option to jump to it (besides the option of jumping to the\begin). - However, if I try to jump to
b, thatβwill not be expanded and the “hotkey letter” is not displayed. I know that thebinside there is being detected, because I can still jump to it if I'm able to guess the hotkey, the only problem is that it's not being displayed.
I can reproduce the bug, but I don't yet know how to fix it. Indeed, something special happens when the point moves to the first char of composed region, and that needs to happen for every char during the jump.