Bastien <b...@gnu.org> writes: > Hi Nicolas, > > Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > >> In master branch, the format has changed. > > With the new template mechanism, can we have rich templates like the > one Charles quotes? > > (add-to-list 'org-structure-template-alist '("r" "#+begin_src rec :data? > :type \n#+end_src" "")) > > allowing cursor positioning, etc? > > If yes, what pointer can we add to ORG-NEWS?
I think more complicated templating has gone into org-tempo.el, which can be loaded separately, and uses the tempo package. The docstring of `tempo-define-template' shows what's possible.