[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: |
Wed, 30 Sep 2020 23:08:42 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> There are still the case when point position is not saved on
>> ewoc-invalidate - when the buffer is displayed in the other window:
>
> Plus when the buffer is "displayed in a window configuration saved in
> a register", plus when invalidate is called from within
> `save-excursion`, plus ....
>
> Arguably Emacs should provide some way to better handle those issues
> (e.g. provide a hook that can be used to influence the way markers move
> in response to text removal+insertion), but until it does, I recommend
> you live with the occasional suboptimal behavior.
Ok, I will. But take a look at the attached patch, please. Few
additional lines and the point is saved in all windows! Not sure about
those additional cases you mention though, but if the behavior will be
suboptimal, I'll be ready :)
Thanks!
ewoc-save-point-in-windows.patch
Description: Text Data
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), (continued)
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Andrii Kolomoiets, 2020/09/13
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Stefan Monnier, 2020/09/13
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Andrii Kolomoiets, 2020/09/15
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Stefan Monnier, 2020/09/15
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Andrii Kolomoiets, 2020/09/18
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Stefan Monnier, 2020/09/18
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Andrii Kolomoiets, 2020/09/18
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Stefan Monnier, 2020/09/18
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Andrii Kolomoiets, 2020/09/24
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188), Stefan Monnier, 2020/09/28
- Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188),
Andrii Kolomoiets <=