all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: org capture properties from a list of strings?
Date: Wed, 26 Apr 2017 16:13:22 +0200	[thread overview]
Message-ID: <87tw5b5kal.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAOQHXPqnyYEfb2UG-aAEq4w3Jb_eeuKpkTKSESftLACvKUAddg@mail.gmail.com> (Xebar Saram's message of "Wed, 26 Apr 2017 15:28:20 +0300")

Hello,

Xebar Saram <zeltakc@gmail.com> 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

      reply	other threads:[~2017-04-26 14:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-23 14:41 org capture properties from a list of strings? Xebar Saram
2017-04-25  7:45 ` Xebar Saram
2017-04-25  8:00   ` Nicolas Goaziou
2017-04-25 15:56     ` Xebar Saram
2017-04-25 16:19       ` Nicolas Goaziou
2017-04-26 12:28         ` Xebar Saram
2017-04-26 14:13           ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tw5b5kal.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.