latex-preview-pane icon indicating copy to clipboard operation
latex-preview-pane copied to clipboard

Only remove the error overlays we created

Open ymarco opened this issue 4 years ago • 5 comments

Removing ALL the overlays to get rid of our error ones is impolite. Users might have other overlays present which we should not touch.

I came upon this when preview-pane deleted my own unrelated overlays...

ymarco avatar Mar 20 '20 18:03 ymarco

@yoavm448 -- could you please provide an example of overlays generated from another package for me so I can contextualize this?

jsinglet avatar Mar 21 '20 17:03 jsinglet

I was using TeX-fold (from auctex), which folds latex macros and symbols to unicode or for better readability. For example \alpha -> ɑ, \texbb{bold} -> bold. It uses overlays for that.

ymarco avatar Mar 21 '20 18:03 ymarco

I'm sorry to poke, but what's the status of this?

ymarco avatar Mar 28 '20 11:03 ymarco

...

ymarco avatar Nov 20 '20 15:11 ymarco

I'd like to add on to this too, I'm using outline-minor-mode to organise the various sections I have. Having to fold and unfold after every compile takes up a lot of time the larger my file gets.

arifer612 avatar Apr 17 '21 17:04 arifer612