On idledev, Jeff Silverman requested autosave, I presume for editor windows. If one is doing closely interactive development, hitting F5 to save and run every few minutes, this would not be necessary. But if not, ... I know that autosaves in other programs (editors and games) have saved me lots of trouble more than once.
Saving every n minutes should be trivial using .after. With slightly more work, it could be every n minute the window is active (has the focus). Any untimed save should reset the timer. Since IDLE looks at every keystroke (I believe), counting keystrokes and saving every n keystrokes might be possible. |