On 27/02/17 09:11, Edward K. Ream wrote:
I am not interested in chasing after org-mode features, unless people really want them. In particular, emulating org-mode tables (including its spreadsheet features) seems like a lot of work
I don't think chasing anyone is worthy, but neither look only inside Leo to look for *inspiration* about what it can be.
- Support for pyzo's client/server based shell. It this needed? Do valuespace or python_console plugins suffice? I suspect pyzo's architecture is better, but I'm not sure how much better.
Anything that can made Leo interactive (in the sense of IPython, Jupyter,
...
) to make literate computing possible in this superb outlining environment will be worthy. This has been kind of a long advocacy, but I think that the best way to do it is by prototyping (in my case with Grafoscopio).
On Mon, Feb 27, 2017 at 9:05 AM, Offray Vladimir Luna Cárdenas <off...@riseup.net> wrote:
On 27/02/17 09:11, Edward K. Ream wrote:
I am not interested in chasing after org-mode features, unless people really want them. In particular, emulating org-mode tables (including its spreadsheet features) seems like a lot of work
I don't think chasing anyone is worthy, but neither look only inside Leo to look for *inspiration* about what it can be.
I agree. There is lots of inspiring software out there.
- Support for pyzo's client/server based shell. It this needed? Do valuespace or python_console plugins suffice? I suspect pyzo's architecture is better, but I'm not sure how much better.
Anything that can made Leo interactive (in the sense of IPython, Jupyter,...) to make literate computing possible in this superb outlining environment will be worthy. This has been kind of a long advocacy, but I think that the best way to do it is by prototyping (in my case with Grafoscopio).
Good. We can discuss this further in the sprint.
- Support for pyzo's client/server based shell. It this needed? Do valuespace or python_console plugins suffice? I suspect pyzo's architecture is better, but I'm not sure how much better.
Edward
On Monday, February 27, 2017 at 9:11:08 AM UTC-5, Edward K. Ream wrote:
If we're looking forward Leo should go with the full client/server based shell. This will facilitate a fully interactive Leo environment. I think anything less would hamper future efforts toward interactivity. This should also help knock out IPython integration issues. Two birds with one (larger) stone.
Just for curiosity, I wonder if the Babel approach taken by org-mode is client sever [1]. I have the "feeling" is not, but I have not still read the papers.
[1] https://www.jstatsoft.org/article/view/v046i03
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 leo-editor+...@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.
Just for curiosity, I wonder if the Babel approach taken by org-mode is client sever [1]. I have the "feeling" is not, but I have not still read the papers.
> In particular, emulating org-mode tables (including its spreadsheet features) seems like a lot of work.
So I'm hoping it's important to others as well, and will turn out to be doable!
I agree. I'm now making table formating on org-mode and literate
computing on Grafoscopio. If I need to prioritize a feature that
would attract more diverse users to Leo would be literate
computing. That has been our case with Grafoscopio and our Data
Week hackathon+workshop[1] have participants from several life
venues and disciplines: Jorunalism, philosophy, communication
studies, developers, teachers, students, among others. They're
more attracted by the interactive data storytelling features that
by table formating.
Maybe. Aiming Pharo was good enough in my case. Other languages could come after, using similar ideas to the ones in Org, Beaker or Jupyter. The nature of prototyping and refactoring can be different in Python, so I would let people with more experience on it take the final design decision. The core issue would be bringing interactivity, finally, to Leo for 5.6 release, but I don't know much on implementation details.
Cheers,
Offray
Several new features do stand out:
- Better integration with .org files, say by supporting .leo.org or org.leo files.
- Support for pyzo's client/server based shell. It this needed? Do valuespace or python_console plugins suffice?
New item: Support p.results. Again, p.results will be a Python property, using uA's behind the scenes. Unlike p.drawer, results will not necessarily be strings. Any picklable values should be allowed, and possibly versioned sequences of values.
A pop-up edit widget showing p.drawer will suffice. The import/export code for .org files should set p.draws. p.drawer will likely be a Python property, using uA's behind the scenes.
Leo should support the following extension of the execute-script command. If there is no text selection, execute-script should use only the code from the present insert point back to the previous @language directive (in the node) and forward to the next @language directive. In effect, this will make @language directives work like org-mode's #+BEGIN_SRC <language> lines.
Leo probably should allow arguments to @language, as in org mode. If we actually do this, we are likely going to want much of the org mode arg machinery. Naturally, Leo settings may be able to handle much of the load.