@Michael-Vincent said in Enable session snapshot and periodic backup?:
Again, without looking at the code, I believe “Remember current session for next launch” saves the current session on Notepad++ exit, whereas “Enable session snapshot and periodic backup” saves the current session on the time interface specified and at Notepad++ exit. In that respect, it’s more like a background auto-save in case of a “crash”?
I have run some tests with npp v8.4.8, and my observations are different:
“Enable session snapshot and periodic backup” only enables periodic snapshot. It has nothing common neither with sessions nor with config: I tried to kill notepad++.exe and I noticed no changes of config.xml and session.xml.
Remember current session for next launch has two effects
it allows that session.xml is (re)written on npp close it allows that session.xml is loaded on next startup of npp(of course, 1. and 2. happens only if all conditions are met.)
(Unchecking Remember current session for next launch doesn’t delete existing session.xml, and so it may6 be activated later by config.xml edit)