#emacs package persist-state 0.3 available on (stable) MELPA.
This package regularly saves your Emacs state (bookmarks, history,
recent files, etc.) when idle for a brief moment. In case Emacs is
idle for a longer time, no state is saved.
Version 0.3 adds support for regularly saving your buffer positions using the builtin saveplace package.