[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Capture template using variable
From: |
Karl Voit |
Subject: |
[O] Capture template using variable |
Date: |
Thu, 5 May 2016 22:36:16 +0200 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
Hi!
Why is capture template 2 not working ("Invalid capture template")
and how can I fix it?
Thanks!
(setq my-capture-template-next "* NEXT %?\n:PROPERTIES:\n:CREATED:
%U\n:END:\n\n")
(setq org-capture-templates
'(
("1" "first version with string" entry (file+headline
"~/share/all/org-mode/misc.org" "shorts")
"* NEXT %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n" :empty-lines 1)
("2" "second version with variable" entry (file+headline
"~/share/all/org-mode/misc.org" "shorts")
my-capture-template-next :empty-lines 1)
))
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
- [O] Capture template using variable,
Karl Voit <=