Ihor Radchenko <[email protected]> writes:
> "J.D. Smith" <[email protected]> writes:
>
>> I am working up an `org-inside-mode' from this. One issue I've run
>> into is that the cursor does not respect face-remapping of the
>> `cursor' face; see emacs bug #80905. So unless I can find a
>> workaround, I'll probably have to let cursor-face-changing-inside
>> functionality go, since with the same buffer in multiple windows it
>> would be confusing to change it everywhere.
Eli confirmed that 'cursor face is special-cased and stashed for cursor
display.
> What about cursor-face-highlight-mode?
Interesting, didn't know about that one. It seems to just use an
overlay at point. I had thought of using an overlay, but of course the
cursor "blinks". Since I'm already using an "unhiding" overlay, another
option is to allow altering the face of the full hidden-marker-wrapped
text entity. E.g. you could change the background color or add a
uniquely colored underline. You'd then have any and all of the
following options:
1. Change cursor type "inside" (distinct per window).
2. Unhide the hidden markers when inside.
3. Change the face of the full hidden-marker text (e.g. add overline,
background color, etc.)
I have a version which implements this (for emphasis only at first);
will push to a feature branch once I'm able.