embark icon indicating copy to clipboard operation
embark copied to clipboard

Embark select overlays hard to remove after reverting the buffer

Open MartinDrees opened this issue 6 months ago • 1 comments

When selecting some candidates via (embark-select), the suggested way to remove all selections is to (embark-act-all) and then toggle the selection for all of them. If you do not do this immediately and instead for example call (revert-buffer) the overlays remain, but the selection is not active anymore.

I did not find a simple way to remove those overlays and used the non-interactive function (remove-overlays) for that. Maybe one could add an interactive function to get rid of all selections and overlays to fix such issues?

MartinDrees avatar May 21 '25 17:05 MartinDrees

I think reverting should remove the overlays automatically, but I am not sure about the best way to do this.

minad avatar May 24 '25 11:05 minad