4 ms·
Emacs has ParEdit minor mode which is a general-purpose tree editor. https://www.emacswiki.org/emacs/ParEdit https://www.emacswiki.org/emacs/ParEdit edit: par
by m1el 10y ago
Emacs has ParEdit minor mode which is a general-purpose tree editor.
https://www.emacswiki.org/emacs/ParEdit https://www.emacswiki.org/emacs/ParEdit
edit:
paredit demos:
Productive Emacs: Paredit https://www.youtube.com/watch?v=T1WBsI3gdDE https://www.youtube.com/watch?v=T1WBsI3gdDE
Emacs Rocks! Episode 14: Paredit: https://www.youtube.com/watch?v=D6h5dFyyUX0 https://www.youtube.com/watch?v=D6h5dFyyUX0
- throwanem 10y agoMaybe link to the Emacs Rocks demo in future - just a thought. I share it because I've known about paredit for years and just kind of gone ¯\_(ツ)_/¯ and not bothered - but seeing that demo has sold me on the idea in a super big way, to the extent where it's going to impair my productivity today, or would if we weren't in a post-crunch breather. By comparison, the Emacs Wiki article is a poor introduction, because introduction is not its purpose; it's there to collect resources for people who already use paredit, and a good introduction answers the question of why someonr would want to start. That said, thanks so much for posting about it here! I'm really looking forward to learning it today.
- tambourine_man 10y agoYou mean this? https://youtube.com/watch?v=D6h5dFyyUX0 https://youtube.com/watch?v=D6h5dFyyUX0
- m1el 10y agoThanks. Added links to paredit demos.
- jamesrcole 10y agoHow good is it? I've never used it and I'm genuinely curious.
- m1el 10y agoIt depends on your requirements. ParEdit limits you to only perform AST transformations, which could be very good if you edit s-expressions or explicitly tree-like structures. If I was working on lisp-like languages, I would definitely use it. But ParEdit didn't stick to me, even after a few attempts. I didn't like the key bindings, and I think that the interface is too complex for me.
- torrent-of-ions 10y agoIt's definitely written with the intent of using it to edit Lisp code, and for that it is great. It is now hard for me to imagine writing Lisp by editing S-expressions directly.
- TeMPOraL 10y agoPretty good, it almost make you feel you're working on trees and not text. Takes a few moments to get used to. I recommend what I did: take a bunch of Lisp code, strip it out of parenthesis (M-x replace-string, replace ( and ) with empty strings), and then use Paredit commands to restore the original tree structure. I spent less than an hour simply doing this exercise again and again, and it was enough to become a proficient user.
- mej10 10y agoIt is amazing for working with Lisps. I use it for Clojure and it is great -- highly recommend to anyone using a Lisp to learn it. Though you'll miss having it in other languages. Not sure what it is like for other tree structures.
- deleted 10y ago[deleted]
- bitexploder 10y agoDon't forget org mode or mind mapping software. Both are quite able with hierarchical data.
- charlieflowers 10y agoCan you (or anyone) name some good mind mapping software (other than org mode)?
- 50CNT 10y agoWhen I'm not using orgmode I usually use yED[0] for diagrams and graphs. Not specifically mind-mapping software, but close enough for my purposes. [0]https://www.yworks.com/products/yed https://www.yworks.com/products/yed
- bitexploder 10y agoFreemind is alright. Java. Does the basics. Runs everywhere. Open source.
- tolas 10y agoMind maps are really just nested lists right? https://workflowy.com/ https://workflowy.com/ is one of the best nested list (tree) editors I've found for mind-mapping and note-taking.
- problems 10y agoIt also has org-mode which seems fairly similar, but offers additional (optional) features for doing things like tables and due dates within the tree. I pretty much just use indented text trees for all but the most complex parts of software design and I find it works very well.
- vram22 10y ago>indented text trees You mean points and sub-points? >all but the most complex parts And what do you use for those?