Feng Shu writes: > Feng Shu writes: > > I will change this patch again, hard coding a templates in functions > is not a good way , maybe it is a complex method to solve a simpe things. This is the 3rd patch, which has been changed significantly, The function will be useful when used in org-capture, I want it can be included into master when it mature! But there are some problems, I think it's org-capture's bug or limit: 1. works: #+begin_example ("c" "Contacts" entry (file "~/org/i-contacts.org") "* %(org-contacts-get-exist-contact-name-string fengshu)") #+end_example 2. doesn't work #+begin_example ("c" "Contacts" entry (file "~/org/i-contacts.org") "* %(org-contacts-get-exist-contact-name-string %^{prompt)") #+end_example