>>> "Uwe" == Uwe Brauer <o...@mat.ucm.es> writes: >> You need `(require 'org-tempo)', then
>> #+begin_src emacs-lisp >> (tempo-define-template "org-display-bib" >> '("bibliographystyle:plain" n >> "bibliography:/home/oub/texmf/bibtex/bib/bibgraf.bib" p n) >> "<b" "Insert bib" 'org-tempo-tags) >> #+end_src > Thanks that works like charm. However I have some more templates of > the form so I tried > #+begin_src emacs-lisp > (tempo-define-template "org-display-bib" > '("bibliographystyle:plain" n > > "bibliography:/home/oub/texmf/bibtex/bib/bibgraf.bib" p n) > "<b" "Insert bib" 'org-tempo-tags) > (tempo-define-template "org-display-comentario" > '("* Comentarios Hoja ?" n > "| Documentación codigo | Explicación código | > Ficheros matlab | Fichero MLX | Impresión |" p n > > "|----------------------+--------------------+-----------------+-------------+-----------|" > p n > "| | | > | | |" p n) > "<c" "Insert comentario" 'org-tempo-tags) > #+end_src After restarting emacs, the second template also works, so this is settled. Sorry for not having tested it before. An additional question though: it is possible to have the cursor at a specific position, as in the old org template system (using ?) Thanks Uwe Brauer