Your Leo version is too old. In older versions of Leo, it was necessary to
add --session-save and --session-restore to your command line for starting
Leo. In the current version those two flags are deprecated and
automatically applied if you start Leo without filename.
Vitalije
On Monday, December 9, 2019 at 4:29:34 PM UTC+1, John Kane wrote:
>
> I, clearly am missing something. What I just tried.
> Linux Ubuntu 18.04
> I have a file ~/.leo/leo.session. It is empty at the moment.
> Load Leo from terminal:
> setting leoID from os.getenv('USER'): 'john' Leo 5.8.1-b2 devel, build
> 20190213233241, Wed Feb 13 23:32:41 PST 2019
> workbook.leo automatically loads.
> Cpen ~/leodocs/Quotes.leo
> Add one item & save
> Quit Leo
> Check ~/.leo.session—empty
> Tried
> Alt-X session-restore
> Terminal message: Please select an "@session" node
>
> What am missing?
>
> On Mon, 9 Dec 2019 at 02:38, vitalije <[email protected] <javascript:>>
> wrote:
> >
> > If you start Leo with one or more file names then it will open only
> those files you provided. However, if you start Leo without giving any file
> it will open the files that were open last time it was closed i.e. files
> listed in ~/.leo/leo.session. So, you have two options:
> >
> > provide list of file names you wish to open at startup, or
> > start Leo without file names and then open outlines you wish to be open
> on next start and close Leo
> >
> > HTH Vitalije
> >
> > PS: you can also press Alt-x and then type session-restore ENTER and Leo
> will immediately load last saved session
> >
> > On Sunday, December 8, 2019 at 9:54:36 PM UTC+1, John Kane wrote:
> >>
> >> A hopefully simple question from a LEO neophyte/incompetent.
> >> I normally use Loo for simple notes and as a place to hold bits of
> quoted text in outline format.
> >> I would like to set up Leo to load 2 or 3 outline files on start–up.
> >> I understand that i can do this in a ~/.leo/leo.session file but so far
> I have mucked it up. Can someone point me to an example? I think the
> problem is that I do not know how to specify a node.
> >
> > --
> > 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] <javascript:>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/leo-editor/aea406c0-abc5-4e44-bef7-7bca15042b6c%40googlegroups.com.
>
>
>
>
>
> --
> John Kane
> Kingston ON Canada
>
--
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/61577871-2321-4e06-beab-3af49b27d7f3%40googlegroups.com.