Re: [O] Define capture template with dynamic id target

2011-06-11 Thread Aankhen
Hi Darlan, On Fri, Jun 10, 2011 at 21:20, Darlan Cavalcante Moreira wrote: > Thanks David, > > I tried to follow your suggestion, but I found two problems (maybe because > I know little about lisp). > > For instance, suppose I have a test.org file with the follow content > --8<---cut

Re: [O] Define capture template with dynamic id target

2011-06-10 Thread Darlan Cavalcante Moreira
Thanks David, I tried to follow your suggestion, but I found two problems (maybe because I know little about lisp). For instance, suppose I have a test.org file with the follow content --8<---cut here---start->8--- * 2011 Every headline has an ID, but I have

Re: [O] Define capture template with dynamic id target

2011-06-09 Thread David Maus
At Thu, 09 Jun 2011 15:18:00 -0300, Darlan Cavalcante Moreira wrote: > > > Hello List, > > I'm trying to create a few templates for org capture and I have found a > weird behavior with the ID target type. It works OK if I use the ID > directly like below > #+begin_src emacs-lisp > (id "Junho2011C

[O] Define capture template with dynamic id target

2011-06-09 Thread Darlan Cavalcante Moreira
Hello List, I'm trying to create a few templates for org capture and I have found a weird behavior with the ID target type. It works OK if I use the ID directly like below #+begin_src emacs-lisp (id "Junho2011Contas") #+end_src but it does not find the ID if I try to get it from a function, suc