Subject: Re: bug#23079: 25.0.92; Movement commands leave cursor in invisible line

From: Stefan Monnier <[email-masked]>
Date: Thu, 24 Mar 2016 18:01:38 -0400

>> Yes, indeed, at least one of those hooks seems to change text
>> properties.  Can't look into it further, it's already too late.
> Yes, I verified that it does.
> So...what can we do?  Can we salvage (sorry if this is the wrong word)
> the cursor adjustment somehow?

Hmm... not without changes either to Emacs's C code (so as to perform
point-adjustment even if some changes were made to the buffer), or to
Magit's code (so as not to touch text-properties during
magit-section-update-highlight, e.g. using overlays instead).

        Stefan