[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Org capture templates - file paths
From: |
Magnus Henoch |
Subject: |
[Orgmode] Re: Org capture templates - file paths |
Date: |
Thu, 19 Aug 2010 13:56:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (darwin) |
Gustav Wikström <address@hidden> writes:
> (setq org-capture-templates
> '(("n" "Note" entry (file my-gtd-inbox-file)
> "* %?\n %i\n %a")
> ("j" "Journal" entry (file+datetree my-gtd-journal-file)
> "* %?\nEntered on %U\n %i\n %a")))
Backquotes and commas are your friends:
(setq org-capture-templates
`(("n" "Note" entry (file ,my-gtd-inbox-file)
"* %?\n %i\n %a")
("j" "Journal" entry (file+datetree ,my-gtd-journal-file)
"* %?\nEntered on %U\n %i\n %a")))
Read more at
http://www.gnu.org/s/emacs/manual/html_node/elisp/Backquote.html .
Magnus