Cool!
Looks like it needs a first time tweak:
Thanks,
Kent
[ ktenney@lappy: ~/work ]$ leo toc.leo
/usr/bin/python /usr/fetching/leo-editor/launchLeo.py --gui=qttabs
--maximize --ipython --session-save --session-restore toc.leo
** isPython3: False
Leo 4.10 final, build 5325, 2012-05-21 08:53:59
Python 2.7.3, qt version 4.8.1
linux2
reading settings in /usr/fetching/leo-editor/leo/config/leoSettings.leo
reading settings in /home/ktenney/work/myLeoSettings.leo
reading settings in /home/ktenney/work/toc.leo
Traceback (most recent call last):
File "/usr/fetching/leo-editor/launchLeo.py", line 8, in <module>
leo.core.runLeo.run()
File "/usr/fetching/leo-editor/leo/core/runLeo.py", line 84, in run
g.app.loadManager.load(fileName,pymacs)
File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 1631, in load
ok = lm.doPostPluginsInit()
File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 2012, in
doPostPluginsInit
aList = m.load_snapshot()
File "/usr/fetching/leo-editor/leo/core/leoSessions.py", line 92, in
load_snapshot
with open(self.path) as f:
IOError: [Errno 2] No such file or directory: u'/home/ktenney/.leo/leo.session'
On Sun, May 20, 2012 at 5:45 PM, Edward K. Ream <[email protected]> wrote:
> Rev 5324 finishes some session-related work. The existing session
> commands are unchanged, but Leo now fully supports two new command-
> line arguments::
>
> --session-restore restore previously saved session tabs at
> startup
> --session-save save session tabs on exit
>
> If you use both arguments, everything is automatic: Leo saves the
> tabs when you quit Leo, and restores tabs when you start Leo. Note
> that you can still specify file names on the command line in addition
> to whatever files --session-restore will open for you.
>
> If you use only --session-restore, it is up to you to save sessions
> "by hand" with one of the session commands, for instance, session-
> snapshot-save.
>
> Please let me know how this works for you.
>
> Edward
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/leo-editor?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.