Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I want Mathematica to periodically autosave my notebooks to the temp folder. And in case of front-end crash i want to see the dialog after restart with the following choices:

  • recover from autosaved drafts
  • discard drafts and open last manually saved versions
  • start a new session

Ideally i would like to make a fully automated solution that doesn't requre to execute any commands each time i open a new notebook.

Do you have any suggestions how to implement this functionality?

There is a hidden NotebookAutoSave option which saves notebook at every evaluation, but it has several disadvantages. It overwrites manually saved notebook and if i accidentally delete an important code (and evalute something) i'm unable to restore from the manually saved file. In OS X a built-in backup system can help, but when notebook is saved after each evaluation i get too many versions. There is also no possibility to distinguish manually saved version from all that autosaves in the Time Machine.

Another problem with NotebookAutoSave is that it is only triggered by the evaluation. It doesn't help when i write code, open built-in help and front-end crashes during help browsing process.

share|improve this question
1  
Related (possible duplicates): mathematica.stackexchange.com/q/8761/5, mathematica.stackexchange.com/q/6435/5 –  rm -rf Jan 24 '13 at 21:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.