Hi, On 1/08/19 12:30 p. m., john lunzer wrote: > I don't want to imply that the "buffer" system is almighty (which it > is not) or that Leo should try to emulate it somehow. Buffers are > simply the medium through which emacs executes cohesion. Leo's medium > are trees and nodes. > > While each of the proposed emacs feature is nice, they would become > truly powerful if they are well integrated into Leo's tree/node > paradigm. I would encourage, as much as is possible integrating these > features directly into the dag. I envision a Leo universe where the > DAG becomes a lot richer. > > For example I see a reasonable implementation of a Jupyter console as > creating a node name "@jupyter my_console" which could then be > "activated" or "run", generating a child node named "In [1]:" after > the jupyter kernel booted up and was attached. You then type your > input into that "In" node and when ready "activate"/"run" the node > which would run your command in the jupyter kernel and create a > sibling node named "Out [1]" with the output and another sibling named > "In [2]" with another input. The idea of a generic "activate"/"run" > command command comes from org-mode's "org-ctrl-c-ctrl-c" command. > It's a pretty uninspired name but it is a context sensitive command > which tries to do what you would expect, so in the case of the > "@jupyter my_console" node activating it means starting a kernel. And > in the case of "In" nodes activating it means running the code.
I have advocated for something similar. I don't know what can be borrowed from Pyzo (and if this is necessary). But I would like to see something like an IPython kernel that computes Leo In nodes and produces Leo Out Nodes. Leo directives can be used to traverse such tree, updating computations, using outputs to create reports and so on. Cheers, Offray -- 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/ea58495b-a1f6-a1d4-a91f-3fe446e8d62c%40riseup.net.
