I don't know if the paredit project is frozen but, for what it's worth:
I don't know if the paredit project is frozen but, for what it's worth:
i've only ever seen proper structural editing with lisps. in emacs you have things like paredit. and i get it, parsing lisp is trivial, text wrapped in pairs of parantheses are your parse nodes. but we have treesitter. we can do so much more.
i could just write code and not care about syntax at all. i shouldn't ever have to fight it. and my editor should be a parse tree editor, not a text editor. text just isn't my interface most of the time. if i'm writing prose, maybe. but usually, i'm not.
when i hit w in vim style binds often mean to go to the next sibling node. but i'm having to spam that and some amount of h or l to get to where i want to go. when writing code i don't think in words or characters. when i hit j i often mean to go to the next statement or expression.
If manipulating syntax trees counts as a form of structural editing then all editors that support lisp are technically structural editors.
/hj
With paredit (or smartparens, etc) this becomes less of a half-joke -- the "tree" always remains valid!
For a while now my `eval-expression` in Emacs was broken and I never bothered to investigate.. Hitting RET in the minibuffer didn't evaluate the expression and instead inserted a newline.
Turns out paredit binds RET in it's keymap to `paredit-RET`.
This fix worked for me:
```
(define-key paredit-mode-map (kbd "RET") nil)
```
What other reason do you need to use #emacs ?
#paredit could be the just enough reason. It is too powerful.
Don't edit text, that is too 21 century. Edit Abstract Syntax Trees 😘
https://www.youtube.com/watch?v=D6h5dFyyUX0&lc=UgxpTA3yt-xea2L3XFl4AaABAg.A2nIxXNhy9pA3GBwFeBS6_
Spending a lot of time in Scheme. I think I'm finally at the point where retraining my fingers to use paredit makes sense. My first attempts spiraled into swearing sessions since it doesn't let you unbalance parens. I get why it does this but it was a bit much while trying to get used to sexps.