Closed conao3 closed 1 month ago
It seems this issue comes from this code but I didn't figure out how to handle this.
https://github.com/AmaiKinono/puni/blob/72e091ef30e0c9299dbcd0bc4669ab9bb8fb6e47/puni.el#L1591-L1595
Seeing the same behavior, it's very annoying when you accidentally type a semi-colon and it removes evrything following it on deletion.
I'm very sorry for the delay. This should be fixed now.
Confirmed. thanks!!
In
lisp-interaction-mode
or something lisp like major-mode, when I remove semi-colon, puni also remove trailing right paren. Due to this behavior, paren balance become broken.repro step
~/.debug.emacs.d/puni/init.el
(leaf puni :ensure t :global-minor-mode electric-pair-mode puni-global-mode)