(disclaimer: a quick search for "accidental edit" did not bring up anything useful IMO, but I don't think that this is an uncommon problem -- if there's a dupe, CVs are welcome.)
So, here is the revision history of this question. As you can see, the original post was pretty badly worded with quite a few typos and spelling errors. Those have been fixed by user Suin, but I didn't find his changes substantial enough, so I have also opted to edit the post, trimming the trailing "thanks".
However, in the meantime the OP has changed his post as well, and by the time I hit Submit, OP's edits have already been committed. So my edit has undone those. This is bad, because the edits improved the post (he clarified his question), and I didn't want to vandalize that. What's even worse, I didn't have any notification or warning as to what was happening.
I remember having done the same a couple of times before, and I've always managed to restore OP's edits manually, by looking at the revisions, but this sort of manual merge is tedious and the day has come when I've got fed up with it.
So my questions are:
- What should I do to avoid these situations?
- What should I do when I accidentally run into such a case?
- Could some sort of improvement be made to the site so that users who are currently editing a post can get notified if parallel modifications occur?