On Sat, 17 Aug 2013 14:31:14 -0700 (PDT) Fidel Pérez <[email protected]> wrote:
> That script would be very useful if added to the menu: > > "File->Recent files->Open my last session" > > Which would open the last recorded session as Chrome or firefox do. > But I guess instead of keeping the info in a node, it should keep it in > g.db["Last Leo Session"] I suspect the original use case was a master .leo file for a particular project / activity being able to load related .leo files on demand for that particular project / activity. Hence the node, although that would also work well in c.db['whatever'] For a global set of files g.app.db would work well, as you suggest. It looks like the 'end1' hook might be the time to catch the last set of open files - I often exit by closing one file at a time, which might not work so well, but that's no big deal. Cheers -Terry > On Saturday, August 17, 2013 9:32:13 PM UTC+2, Terry wrote: > > > > Is there such option ? to reopen, on Leo startup, all open files from the > > previous session ? > > > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
