The fact that #emacs out-of-the-box includes "undo-in-region" is not only super cool, but also extremely useful. I just copied a bunch of stuff, changed it into org headings, updated the title, then realized that the stuff had multiple lines, so I undid just the heading part and removed the linebreaks before going back to headings -- without undoing the title change.