When writing lisp codes, sometimes I'm deep in a nested expression and all I want is to insert all the missing closing parenthesis. Right now I'm just inserting them until I get a mismatched paren, but it's not very efficient.
Is there any command to insert all the missing parentheses?
FYI, I'm using smartparens to automatically insert matching parens. Still, sometimes I just need to do this.