Re: jupyter files

2017-08-21 Thread Edward K. Ream
On Mon, Aug 21, 2017 at 7:17 AM, Josef  wrote:

> Leo's @auto reads in .ipynb files, and there are now @pyplot commands, but
> I am lost at how to use these.
>

​At present these are two separate features.  #477
 hints at improving
support for Jupyter notebook files, but all is sketchy.  This issue is
marked "first" because cooperation with other programs supposedly has high
priority.
​

> How am I supposed to use the @jupyter node? Only to edit it, then run it
> in Jupyter notebook, or can I also run the script(s) in Leo?
>

​That's a good question.  I'm not sure myself.  Please feel free to make
suggestions here, or in #477.

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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


jupyter files

2017-08-21 Thread Josef
Leo's @auto reads in .ipynb files, and there are now @pyplot commands, but 
I am lost at how to use these.
Ok, the @auto *.ipynb node contains the python source and more, but unless 
I delete all the # subnodes and add an @others, I can't execute the script,
and I don't see what @pyplot does. I haven't really found much 
documentation to this.

How am I supposed to use the @jupyter node? Only to edit it, then run it in 
Jupyter notebook, or can I also run the script(s) in Leo?

- Josef

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: 04ef7c: git-diff command is safe and useful

2017-08-21 Thread Edward K. Ream
On Sunday, August 20, 2017 at 6:53:27 AM UTC-5, Edward K. Ream wrote:

The new git-diff command shows the diffs between any uncommitted work and 
> git's HEAD in an outline. This is, by far, the best outline-oriented diff 
> in Leo's history.
>

Rev a9d3f5f completes work on this project.  #501 
 has been closed. I 
use the git-diff command constantly to see what I have just done. The 
outline-oriented diffs are *much* more helpful than using gitk. Recent 
improvements:

- Shows outline-oriented diffs for all files, using modified @clean logic 
for files without sentinels.
- Does not diff .db, .leo, zip files, or commit_timestamp.json.
- Diffs HEAD{0} and HEAD{1} if there are no uncommitted changes.
- Creates clones of "new" changed nodes.
- Shows abbreviated sha-1 hash for revs.

Please report any problems.

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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.