Hi guys, published the --still naive-- implementation of the command discussed yesterday: https://github.com/andreas-roehler/werkstatt/blob/master/general-close.el As for the parse-partial-sexp helper-command mentioned, get the code here: https://github.com/andreas-roehler/werkstatt/blob/master/pars-part-output.el Cheers, Andreas