Re:The Animated Guide to Emacs Paredit
by karthink on Thursday November 27, 2014 @03:28AM
(#8666440)
An easier way to deal with unbalanced delimiters without toggling paredit-mode is to use C-q, quoted-insert. C-q ) inserts a literal ) where regular ) is bound to paredit-close-round.
Quoted insert is generally useful when you want to enter a specific character that is bound to something other than self-insert, such as a literal newline in a regex pattern.
Re:The Animated Guide to Emacs Paredit
by adwf on Thursday November 27, 2014 @09:19AM
(#8667357)
Yep, C-q is also useful when you need to comment out part of a multiline sexp without doing a block select and C-;
Otherwise paredit will helpfully move the comment to a newline to avoid breaking the balance ;)
Quoted insert is generally useful when you want to enter a specific character that is bound to something other than self-insert, such as a literal newline in a regex pattern.