On Sun, 30 May 2010 00:04:08 +0200, Eraldo Helal wrote: > How can I insert a remember template at point? > > Until now I had identical remember templates and yasnippets. This is > only a workaround and I would prefer to be able to insert a remember > template at point since I have found it to have features I could not > reproduce.
I had this problem about a year ago. The trick is to insert a function that returns the strings you need. For example this is the function I used. (defun org-csa () ;this strange function only *returns* the desired ;text, not inserts to the buffer. " :PROPERTIES: :ORDERED: t :END: *** TODO [[ooo:\"CSA Template.ott\" &][fill out template form]] *** TODO [[shell:claws-mail p...@example.com.au &][submit for approval/ fixes]] *** TODO save to text *** TODO [[shell:claws-mail d...@example.com][send it to Darren]]") Then you make your remember template call this function. Like this: ("CSA" ?C "* TODO %^{topic} [/] %^g\n %t\n %(org-csa) \n %&" "~/.org/ CSA.org" bottom) Cheers Shelagh > Greetings from Austria, > Eraldo > > _______________________________________________ Emacs-orgmode mailing > list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode