rayw000 / translate-mode

Paragraph-oriented Emacs minor mode for doing translation jobs.
GNU General Public License v3.0
28 stars 4 forks source link

sync scrolling not working well with evil mode and visual line mode in org files #8

Open AnabasisXu opened 10 months ago

AnabasisXu commented 10 months ago

The lines in the demo are short ones and in real life case, lines tends to be long, which means you have to turn on visual line mode. Visual line mode then messes up the go to next line behavior.

Another issue is that evil mode will break the sync scrolling. It simply does not work in evil mode.

A work around is to use translate forward paragraph function, which will work, but only useful when the paragraphs are short.

rayw000 commented 10 months ago

Hi @abtxu

Thank you for your feedback!

Since I don't use evil mode, I may need time to inspect the issue. PR is also welcomed if you have an idea to make translate-mode better! :)