[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Default location for "./" with respect to capture file+headline
From: |
John Hendy |
Subject: |
[O] Default location for "./" with respect to capture file+headline |
Date: |
Fri, 5 Feb 2016 21:19:58 -0600 |
Greetings,
I'm trying to show an Org-mode demo within a folder for a talk. I
can't show my actual work stuff as it's confidential, so I'm trying to
create a self-contained org directory.
I have a dir with a setup like so:
dir/
dir/setup/example-config
dir/libs/{org-mode, ESS, others}
dir/demo/demo-file.org
I'm loading emacs like this (after cd-ing to dir)
emacs -q -l setup/example-config
It's loading org-mode from the ./libs directory (vs. ~/.elisp) and the
first line is:
(cd "/path/to/dir/")
When I do =C-c c= to try a capture example, it's trying to file it
with respect to ~/org and I'm not sure why. Here's the capture section
of dir/setup/example-config:
(setq org-capture-templates
'(("l" "log" entry (file+headline "./demo/org-demo_capture.org" "Log")
"* %? \n%u " :clock-in t :clock-resume t)
("t" "task" entry (file+headline "./demo/org-demo_article.org" "Tasks")
"* todo %? %^g\n%u" :prepend t)
("c" "clock" entry (file+datetree "./demo/org-demo_clocking.org")
"* %?\n%u" :clock-in t :clock-keep t)))
The capture buffer wants to create the directory ~/org/demo.
Thanks for any pointers!
John
- [O] Default location for "./" with respect to capture file+headline,
John Hendy <=