Comments

On Paredit Slurp and Barf Mnemonics
Post Comment

Tassion wrote:

Hi! Firstly, congratulations on your pages, they are really cool! I'm hoping to get my own space online at some point soon, and yours is an inspiration!

I think I found a typo on your paredit-slurp-and-barf-mnemonics page. When you explain barfing for the first time, you write paredit-backward-slurp-sexp when you meant paredit-backward-barf-sexp.

Also, I think that I found a bug (or feature?) of Paredit. paredit-delete-char doesn't seem to play well with the undo command in Emacs. Try typing a "bcd", then moving the pointer to the point just before the first double quotes, then run paredit-delete-char, followed by undo. I'll report it in case it is useful.

10 Nov 2025 13:01 UTC | #1 of 2 comments

Susam Pal wrote:

Thank you for reporting the typo. I had indeed written paredit-backward-slurp-sexp when I meant paredit-backward-barf-sexp. I have fixed it now.

By the way, I could not reproduce any odd behaviour pertaining to undo after paredit-delete-char. If I run paredit-delete-char while the point is placed just before the first double quotation mark, nothing happens since Paredit cannot delete it without making the double quotation marks imbalanced. For me, an undo after that does undo the last edit made before paredit-delete-char.

21 Nov 2025 00:03 UTC | #2 of 2 comments
Post Comment