Kaushal Modi <kaushal.m...@gmail.com> writes: > On Sat, Sep 2, 2017, 10:23 PM Adam Porter <a...@alphapapa.net> wrote: > > Hi Eric, > > Thanks for doing this. I've had some similar code in my config for a > while. I'll share some of it here in case you find it useful in doing > this. You especially might find the org-read-structure-template > function useful. > > And here's my version, which also uses hydra. But the function > modi/org-template-expand to insert the BEGIN_../END_.. blocks can be reused. > > This at least tells that there's a good need to have the easy template do the > right thing when it is called with a region selected.
That's the vast majority of what I wanted. So long as we've got that, and it doesn't depend on random other packages, I'm happy.