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: Stefan Monnier
Subject: Re: master f450798: Don't move point in vc-dir on vc-register/vc-checkin (bug#43188)
Date: Mon, 28 Sep 2020 13:13:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> 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 ....

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

Down this path lies madness, I think.

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.


        Stefan




reply via email to

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