Lars Ingebrigtsen writes: > Matthias Meulien writes: > >> See the following attachment where two bookmark-fringe-mark are >> visible in the fringe (I just opened multiple bookmarks to *vc-dir* >> buffers where one bookmark doesn't point to the first line of the >> buffer): > > So the problem seems to be that a `revert-buffer' doesn't keep overlays > where they were, I guess? (Or remove the overlays, at least.) > > Do we have some machinery to handle overlays like this, or conventions > about what to do with overlays when doing a `revert-buffer' actions? IMO, the responsibility of code that creates overlays is to clean them up in change-major-mode-hook. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no