Leo no longer supports --session-restore and --session-save. LM.scanOptions lists them as obsolete.
But the *SessionManager* class still exists. *SM.load_session* is the culprit behind #3404 <https://github.com/leo-editor/leo-editor/issues/3404>. It would be straightforward to fix this method, but I shall retire the entire class instead. The SessionManager supports six *session-** commands. The commands allow you to specify a set of files to open at startup. But listing the desired files (in a shell script or .cmd file) is simple and good. *Summary* The *session-** commands are absurd solutions to a non-existent problem. This class significantly complicates Leo's startup logic. The entire SessionManager class must go. Félix take note :-) As a side effect, Leo will no longer write *~/.leo/leo.session*. Your comments are welcome. Good luck arguing for this class :-) Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/5480a75d-ada7-4bb0-8a4b-b27c8fe5486an%40googlegroups.com.
