paredit
restricts my editing freedom to guarantee me that my s-expressions are never unbalanced. Unfortunately, hippie-expand
doesn't care a bit about rules and manages to disturb the balance by expanding to syntactically wrong text (e.g. text containing a couple of parentheses more than would be appropriate in the current context).
Cleaning up after the hippie is a chore; I have to disable paredit
temporarily to delete the superfluous parentheses and reenable it afterward.
Can the hippie be made aware of paredit's efforts to keep the buffer clean? Is there an alternative expansion feature that is more well-behaved when paredit is around? Or is there a way to make paredit (or something like it) clean up invalid expansions automatically?