evil
evil copied to clipboard
Fix: Should not (evil-set-jump previous-pos) jump after evil-jump-forward
Steps to reproduce the issue:
- Create files
abcwith the following content:
$ head a b c
==> a <==
b
I'm A
==> b <==
c
I'm B
==> c <==
I'm C
- Run
emancs ato open bufera - Press
gfto jump to buferb - Press
gfto jump to buferc - Press
C-oto jump back to buferb - Press
C-oto jump back to bufera - Press
C-ito jump foward to buferb - Press
C-ito jump foward to buferc, but the window stays on bufferbunexpectedly.
@tomdl89 @axelf4 Hi, could you please comment on this pull request?
@roxma thanks for the PR. As mentioned in the comment, I don't think you need to revert the renaming.
Can you add tests for this? I've noticed there are tests in the deftest evil-test-jump, namely in the ert-info Jump across files, which you may be able to add to. Could you take a look? Thanks.
Has there been any progress? I also have this problem. Whenever I jump back repeatedly, I can only jump forwards once.
@dschrempf apologies for the delay. Now fixed in master. Please let me know if you observe otherwise.
Wow, that was fast, thanks a lot!
@tomdl89 Thank you for adding the tests.
I can also confirm that this is working! Thanks!