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

From: Stefan Monnier <[email-masked]>
Date: Mon, 21 Mar 2016 21:27:25 -0400

> Seems that works only for the invisible text property.  In Magit, they
> use overlays to make text invisible, and stickiness of text properties
> has not effect there.

For overlays, you need to use the insertion-type of the beg/end marker.
See the FRONT-ADVANCE and REAR-ADVANCE args of make-overlay.

        Stefan