Paredit deleting () reddit / emacs ---------------------------------------------------------------------- verdigris2014 · 2022-11-30 22:19 I feel pretty dumb asking this, let alone how I’ll feel reading the answer, I used paredit. sometimes I’m editing code and the parenthesis have become a bit of a mess. Sometimes I want to delete them. Paraedit won’t let me, so occasionally I need to turn the mode and delete a parenthesis or two then re-enable it. This does not seem like the way. How should it be used and if this is a feature is there another package which might be worth trying? ---------------------------------------------------------------------- Starlight100 · 2022-12-01 00:26 Move your cursor "|" to the front of the paren pair |(func 4 5 3) Press C-k ---------------------------------------------------------------------- mathem17 · 2022-12-01 17:26 This deletes everything inside the parens too. I believe you want M-r (paredit-raise-sexp) which will keep the expression and remove just the parens ---------------------------------------------------------------------- verdigris2014 · 2022-12-01 20:30 Thanks. Very simple. That’s generally cut line, interesting.