Selecting region, how to get a (pre)defined part before and after region?
Let's say for instance, working with LaTeX, we want \begin{frame}{}
before the region and \end{frame}
after region, how to get this done with Emacs by one function?
[pre-part]"Has to be around this"[post-part]
I would encourage use of yasnippet. Also, maybe "autopare" can give a hint, since somehow it smartly can put quote signs around the marked region when pressing ".