I had just lost most of the content of my notes in a text file, when I used emacs, and there was a bug, but I ignored the error message, and forced a file save. After a few hours, I found that my newly saved file had only a few bytes left! Most of my notes in the file had gone.
I wish that I had set up warning of file size change significantly, when saving a file in emacs. I saw such message before from emacs before, but I don't know how I can set it up now? Please share with m me any pointer to a solution. Worst come to worst, it should be possibe to add some checking in the hook for file save to implement it.
Thanks in advance!
Yu Shen