by stevesimmons · 9y ago · 0 comments
Leo is a hierarchical editor with a tree view of nodes, which can be in Markdown, ReST, code, and create compound docs a la literate programming from nodes, etc.
The killer feature imo is nodes can be cloned to multiple places in the tree. So you could have, for example, group notes by project in one master last, plus another sub-tree for clones from the master list of your own current projects.
Leo's web site may look clunky and old-fashioned. But don't let that put you off!
-- EDIT --
For what it's worth, I do oscillate between Leo and Emacs org-mode. I'd probably stay 100% with org-mode if there were a way to clone nodes. Does anyone know if this is possible?
I believe that what you are explaining is essentially the equivalent to a symbolic/hard link.
As far as I know, one of the goals of org-mode is to have a format that does not diverge from pain text.
Similar to markdown, an org-mode file is always completely readable as pain text, whether using emacs it not.
That means the only way to have an updated "copy" (reference) of a tree would be to automatically copy any changes made to every copy of that tree. That would either require some sort of run-time mark (that would disappear as soon as you kill the buffer), or special syntax.
As far as I know, org-mode does not have such a feature.
https://www.gnu.org/software/emacs/manual/html_node/org/Stru...
It seems like org-mode ought to be able to do this, too.
At least, it's weird that emacs/vim _can't_ do something. I can't remember the last time anyone said that about, well, anything :)
One use case: You're trying to fix a big in code. You can create a new node and place under it clones of all relevant code (which may exist across multiple files) for the bug. And not just code but also collateral for tests (e.g. unit test or input files that reproduce the bug etc). Oh and might as well clone the bug report as well.
So all that you need to work with the bug conveniently under one node. Just edit there and all relevant files get updated.
Leo is powerful and has a decent user base. It is the closest thing I've found to Emacs in the Python world. Unfortunately the documentation is really bad and I just don't have time to learn it without good documentation. I toyes with the idea of becoming a master at it just so I can write proper docs but life is too short.
No, I wasn't even young in the nineties. Just youngerish.
Doesn't look very dead to me.
I'm not trying to imply Leo doesn't have polish, just that native UIs age poorly compared to, say, readline/curses interfaces. The expectations are completely different, and UIs have changed a lot in 20+ years.
But, while lacking, they have the right spirit and are constantly trying to do better. If someone can adapt to the myriad of quirks and failures, it can be a very powerful tool. As an outliner it's definitly better than org-mode. But it might be good to have profund python-knowledge to take advantage of the scripting-ability to make it really useful.