andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Periodically saving the session #229

Closed vi closed 9 years ago

vi commented 10 years ago

Enki saves the session on exit, and in case of Enki or system crash I receive old session.

bjones1 commented 9 years ago

A recent Excel crash, in which the auto-recover feature meant I didn't lose ALL my changes, made me think about Enki crashes. I agree that this is a great idea. One step further: Notepad++, on exit, saves ALL state (even the edits made to every open file), so re-opening it picks up exactly where the user left off. If Enki did this and had auto-save, it also means that any crash will lose less data (all user edits may well be preserved). This would be neat...

vi commented 9 years ago

Note that I also sometimes run multiple Enkis in the same user account. Usually only one session get restored, which can also be annoying.

andreikop commented 9 years ago

Session is autosaved once a minute