Fork me on GitHub
#emacs
<
2019-02-24
>
Chase18:02:24

so I'm struggling when copy/paste refactoring due to paredit. I know C-q ) will let me force insert a closing paren but how do I force delete a closing paren?

Chase18:02:57

I'm thinking the real solution will be to splice, barf, or slurp somewhere in the function right? but I would like the option to force delete if possible.

Chase18:02:31

well the real solution seems to actually be to kill only to the appropriate paren but still!

dpsutton18:02:14

I don't understand this pain because it's easy to copy and paste valid s exprs. Why are you ending up with invalid expressions

Chase18:02:09

I think what was happening is I was killing from within the middle of a large function and not ending my point at the appropriate paren. So the solution is to pay better attention to my rainbow delimiters and make sure I have the valid s expr from the very beginning instead of just taking it all the way to the end of the line.

cichli19:02:19

Prefix with C-u to force delete, e.g. C-u C-d