From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org capture properties from a list of strings? Date: Wed, 26 Apr 2017 16:13:22 +0200 Message-ID: <87tw5b5kal.fsf@nicolasgoaziou.fr> References: <87y3uozzlm.fsf@nicolasgoaziou.fr> <87h91czchj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3NhG-0001UY-4T for emacs-orgmode@gnu.org; Wed, 26 Apr 2017 10:13:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3NhA-0004fC-5L for emacs-orgmode@gnu.org; Wed, 26 Apr 2017 10:13:34 -0400 Received: from relay7-d.mail.gandi.net ([2001:4b98:c:538::200]:57892) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3Nh9-0004ey-Uw for emacs-orgmode@gnu.org; Wed, 26 Apr 2017 10:13:28 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by relay7-d.mail.gandi.net (Postfix) with ESMTPS id A458099B for ; Wed, 26 Apr 2017 16:13:26 +0200 (CEST) In-Reply-To: (Xebar Saram's message of "Wed, 26 Apr 2017 15:28:20 +0300") 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" To: Xebar Saram Cc: org mode Hello, Xebar Saram writes: > (add-to-list 'org-capture-templates > '("f" "Food" It should be `("f" "Food" > entry > (file+headline (concat pmm "/org/files/agenda/food.org") "Inbox") missing comma and `format' function: ,(format "*COOK %%^{Recipe Name} ... > "* COOK %^{Recipe Name} > :PROPERTIES: > :ID: %(org-id-uuid) > :Time: %^{minutes|%s} > :type: %^{Type?|%s} > :END: > > > %^{prompt|*** Ingredients} > %? > %^{prompt|*** Preparation} > > " Don't forget to double all percent signs that are not place holders. Regards, -- Nicolas Goaziou