FastDMM icon indicating copy to clipboard operation
FastDMM copied to clipboard

Adds autosave daemon thread that saves all loaded maps once a minute

Open factorsofx opened this issue 7 years ago • 9 comments

I think I finally sorted out my git problems... Anyways, here's this. I synchronize on editor like the other place that iterates over the list of loaded maps. Sorry again for the spam!

factorsofx avatar Jul 06 '17 23:07 factorsofx

@monster860 merge it NAO

ghost avatar Dec 30 '17 13:12 ghost

What does this do? Does it autosave all the maps every minute? If so, why? What if you are working on something and you're not done yet?

ghost avatar Feb 22 '18 16:02 ghost

@HiddenKn you should ALWAYS save liberally even if you're not "done" yet. If the editor crashes or whatever you lose all your work.

PJB3005 avatar Feb 22 '18 16:02 PJB3005

@PJB3005 I prefer to only save after I make an actual proper change. Autosave causes saves during unfinished changes resulting in useless "backups". Unless this saves to a different file than the main save? (For example, ·vim saves backup information to .swp files)

ghost avatar Feb 22 '18 17:02 ghost

How are these backups "useless"? If the program crashes and you have a backup 30 seconds ago you lost 30 seconds of work. If you don't have a backup you might've lost 30 minutes of work.

PJB3005 avatar Feb 22 '18 18:02 PJB3005

And if you made a mistake you may have just lost over 30 minutes of work because your known good version was just overwritten by a broken version.

ghost avatar Feb 22 '18 22:02 ghost

That's what version control is for.

PJB3005 avatar Feb 23 '18 00:02 PJB3005

Your workflow isn't the same as everyone else's. I've made my point if you disagree that's fine. I'm just saying it would be nice if it could be saved to a backup file or if there's a configuration option to disable it.

ghost avatar Feb 23 '18 00:02 ghost

What if im placing stuff on a map after I have finished and specifically don't want it to be saved?

PowerfulBacon avatar Jun 03 '21 17:06 PowerfulBacon