Aaauuugh!!!!
Lesson of the day: Save your work frequently and do not go back and forth between editors with different keyboard shortcuts. I just managed to kill a lengthy post, which I was just about to publish, by using an Emacs command (Ctrl-W -- meaning, cut region) in a Mozilla window (where it means close tab, destroying all my work in the process).