Re: Rev 8ec811ac merges a much improved .ipynb importer/exporter into devel

2018-04-08 Thread Edward K. Ream
On Sunday, April 8, 2018 at 5:09:12 AM UTC-5, Edward K. Ream wrote: The new code completes #838 > : Better .ipynb > importer/exporter. > The importer/exporter terminology may hide the real story. The new code supports @auto x.ipynb. This i

Re: g.importModule() and friends: do they still work? Examples?

2018-04-08 Thread Edward K. Ream
On Sun, Apr 8, 2018 at 1:54 PM, Viktor Ransmayr wrote: > I haven't been able to get them to work. Is it them or me? ;-) >> >> import leo.core.leoGlobals as g >> # g.importFromPath('semantic_version', >> # >> r'C:\Users\mattw\Documents\GitHub\leo-editor\leo\extensions\semantic_version', >> >

Re: Help needed: Set key to toggle between previous node

2018-04-08 Thread Edward K. Ream
On Sun, Apr 8, 2018 at 11:18 AM, drmikecrowe wrote: > Rather than Ctrl-Tab swapping between leo files, I want it to toggle > between the last node. I'm setting this in my config, but this doesn't > seem to work. What should it be? > ​The goto-prev-node command does not depend on history. It g

Re: Rev 8ec811ac merges a much improved .ipynb importer/exporter into devel

2018-04-08 Thread Edward K. Ream
On Sun, Apr 8, 2018 at 8:23 AM, lewis wrote: AttributeError: 'Import_IPYNB' object has no attribute 'get_file_name' > ​Thanks for this report. This was fixed several hours ago. The latest rev reads/writes the "collapsed" metadata attribute as a JSON boolean, not a string. With this change, ​

Re: g.importModule() and friends: do they still work? Examples?

2018-04-08 Thread Viktor Ransmayr
Hello Matt 2018-04-08 19:26 GMT+02:00 Matt Wilkie : > Hi All, > > I found 3 related functions that purport to do variants of: > > Try to import a module as Python's import command does. >> >> moduleName is the module's name, without file extension. >> >> This function first attempts t

g.importModule() and friends: do they still work? Examples?

2018-04-08 Thread Matt Wilkie
Hi All, I found 3 related functions that purport to do variants of: Try to import a module as Python's import command does. > > moduleName is the module's name, without file extension. > > This function first attempts to import from sys.modules, > then from the extensions and exte

Help needed: Set key to toggle between previous node

2018-04-08 Thread drmikecrowe
Rather than Ctrl-Tab swapping between leo files, I want it to toggle between the last node. I'm setting this in my config, but this doesn't seem to work. What should it be? @keys tab-cycle-next = None goto-prev-node = Ctrl-Tab -- You received this message b

Re: Rev 8ec811ac merges a much improved .ipynb importer/exporter into devel

2018-04-08 Thread lewis
In a new leo file I tried Import Files> Import Jupyter notebook Leo Log Window Leo 5.7.2 devel, build 20180402204423, Mon Apr 2 20:44:23 CDT 2018 Git repo info: branch = devel, commit = 8ec811ac8fb9 Python 3.6.5, PyQt version 5.10.1 Windows 10 AMD64 (build 10.0.16299) SP0 isPython3: True caching e

Rev 8ec811ac merges a much improved .ipynb importer/exporter into devel

2018-04-08 Thread Edward K. Ream
The new code completes #838 : Better .ipynb importer/exporter. The highlights: - *Leo* users see only imported body text (and saved headlines). This is a giant step forward. - *Jupyter Notebook* users should see everything as before, because