> I still think the problem is in markers dropping to 'point-min'. Due to the buffer erasing part when reverting the buffer. > Shouldn't a marker remember its previous position as a number > and try to restore it when this position becomes available again? I think that Stefan's approach to restore windows' point markers does that in a more sophisticated way. I'll attach a patch. But that patch does not address window configurations and states - simply because it can't access them. We need a different solution for those. And it obviously does not handle non-default reverters like 'dired'. martin