Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sebster7 opened this issue Feb 15, 2023 · 0 comments
Open

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

Sebster7 opened this issue Feb 15, 2023 · 0 comments

Comments

@Sebster7
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant