bling/evil-jumper

Suggestion: use markers instead of point

bmag opened this issue · 1 comments

bmag commented

First of all, thank you for making this package. Secondly, I've encountered an irritating behaviour when using your package, explained below.

If I jump to some location in the current buffer, make some changes, and then jump back, sometimes the jump back "misses" by several characters. To reproduce:

  1. from the end of the buffer, jump to the beginning of the buffer
  2. type "foo" (in insert state)
  3. jump back with evil-jumper/backward
    Expected result: point is now at end of buffer
    Actual result: point is 3 characters before the end of the buffer.

Using markers should fix this problem, since markers keep track of such changes. I'm guessing the function point-marker will be helpful.

bling commented

thanks.