[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43188: 28.0.50; [PATCH] Don't move point in vc-dir on vc-register/vc
From: |
Andrii Kolomoiets |
Subject: |
bug#43188: 28.0.50; [PATCH] Don't move point in vc-dir on vc-register/vc-checkin |
Date: |
Thu, 03 Sep 2020 22:22:20 +0300 |
Severity: minor
Proposed patch aimed to fix following point movements in vc-dir:
1. Create git repo: mkdir gittest && cd gittest && git init && touch foo.txt
2. Open vc-dir for that repo in Emacs (C-x v d). Point is 1.
3. Run vc-next-action (v).
Point is moved to 26.
4. revert-buffer (g) to move point to 1.
5. Run vc-next-action (v). Enter commit message and C-c C-c.
Point is moved to 26 again.
6. Create another file in the repo: touch bar.txt
7. In vc-dir move to the last file: g n n
8. revert-buffer (g)
Point is moved to the beginning of the line.
9. revert-buffer (g)
Point is moved to the previous line.
Thanks!
0001-Don-t-move-point-in-vc-dir-on-vc-register-vc-checkin.patch
Description: Text Data
- bug#43188: 28.0.50; [PATCH] Don't move point in vc-dir on vc-register/vc-checkin,
Andrii Kolomoiets <=