zlacker

[parent] [thread] 2 comments
1. nequo+(OP)[view] [source] 2022-10-20 05:14:24
> Yeah, sure, it would be nice to have the Vitruvian Man in the code, but it's also nice to be able to re-open your text file in 5 years

I imagine this as an Emacs package that recognizes tree-like code patterns (like what he showed in the video) and replaces those patterns inline when you toggle it. Your code is still the same plaintext. But your editor can display chunks of it as graphs.

Emacs does this already in latex-mode and org-mode for math formulas.[1] It shouldn't be a stretch to do this for other types of code, too.

[1] See this example in markdown-mode: https://external-preview.redd.it/ETo2U5C7vh5o4482sMcnYbkZ6Lx...

replies(1): >>joeman+Rq2
2. joeman+Rq2[view] [source] 2022-10-20 20:44:47
>>nequo+(OP)
This is already quite simple. You can have a .org buffer with SRC blocks & have their output displayed underneath (exactly like a jupyter/Pluto notebook). I’m thinking you can define a function and underneath it you can say something like “@structure myfunc” to get an image of the structure as the src-block output.
replies(1): >>nequo+iQ2
◧◩
3. nequo+iQ2[view] [source] [discussion] 2022-10-20 23:07:10
>>joeman+Rq2
That would be phenomenal. And even better if it works outside of org-mode!
[go to top]