emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin


From: Andrii Kolomoiets
Subject: Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188)
Date: Thu, 24 Sep 2020 23:21:33 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Done,

There are still the case when point position is not saved on
ewoc-invalidate - when the buffer is displayed in the other window:

1. mkdir gittest && cd gittest && git init && touch foo
2. emacs -Q
3. C-x v d
4. n
5. o
6. o
7. C-x C-s
Point is moved to BOL. Because
8. M-: (save-current-buffer (set-buffer "*vc-dir*") (goto-char 1))
will not move point in the *vc-dir*.

Is it worth it to restore the point position in each window where it
will be affected by 'ewoc--refresh-node'?



reply via email to

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