bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Dmitry Gutov
Subject: bug#43188: 28.0.50; [PATCH] Don't move point in vc-dir on vc-register/vc-checkin
Date: Sat, 5 Sep 2020 00:18:16 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Version 28.1

On 03.09.2020 22:22, Andrii Kolomoiets wrote:
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.

Looks like am improvement.

Installed, thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]