From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Belohrad Subject: org-capture-templates - any way how to call function for template? Date: Wed, 21 Jan 2015 15:46:34 +0100 Message-ID: <87oapsur79.fsf@pcbe13433.cern.ch> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwYN-0002MF-Ot for emacs-orgmode@gnu.org; Wed, 21 Jan 2015 09:46:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDwYI-0007Ko-Dh for emacs-orgmode@gnu.org; Wed, 21 Jan 2015 09:46:43 -0500 Received: from static-212-101-19-163.adsl.solnet.ch ([212.101.19.163]:51518 helo=server.belohrad.ch) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwYI-0007JY-60 for emacs-orgmode@gnu.org; Wed, 21 Jan 2015 09:46:38 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list Dear All, i want to make a capture template, which will call a function to feed that template. Is there any way how to do it? Something like this: ("E" "Dynamic diary entry" entry (file+datetree (concat my-org-files "diary.org")) ) I have found that one can use function for _target_, but not for actual template. Afaik template can be only loaded from a file, right? thanks .d.