MMapper icon indicating copy to clipboard operation
MMapper copied to clipboard

Losing drafts using built-in editor - Add Auto-save?

Open Sebster7 opened this issue 1 year ago • 0 comments

Frustratingly last night I lost another draft mail (with technical details) that I had spent an hour or more working on via the in-game mail command and the MMapper MUME remote editor. That's mainly due to a BSOD stop error in Windows, as well as me forgetting to copy and paste the draft somewhere safe before putting my laptop for sleep for the night, but the other contributing factor, if one compares with a lot of text editors these days, is no auto-saving of drafts. This would be a useful feature!

How it could work: when the editor opens a window in edit mode, it creates temporary file in the MMapper Logs directory or another directory with either a randomly generated filename or a name generated from the mail subject and recipients, and then auto-saves to that file every minute or so if it has detected a change to the text since the last change. When the edit is submitted successfully, the file is deleted. And I emphasis successfully, because on another occasion I think I had a draft open from a previous session and I think I tried to submit it in the next, and that content was also lost - no BSOD or crash involved.

Sebster7 avatar Feb 15 '23 18:02 Sebster7