[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Capture with org-directory not working?
From: |
Adam Porter |
Subject: |
Re: [O] Capture with org-directory not working? |
Date: |
Tue, 20 Sep 2016 12:08:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Rainer Krug <address@hidden> writes:
> Could you please provide an example? It is not clear to me what you mean - I
> prefer simpler!
Sure, here's an abbreviated example of custom-set-variables from my
init.el:
#+BEGIN_SRC elisp
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-capture-templates
(quote
(("a" "Appointment" entry
(file+datetree+prompt
(concat org-directory "/calendar.org")
"Calendar")
"* %^{Description} %T %^G
%U %?" :clock-in t :clock-resume t)))))
#+END_SRC
The downside is that, if you're editing them in your init file instead
of through the customize interface, you have to eval the entire
custom-set-variables to apply changes, which requires a few extra
keystrokes.
- [O] Capture with org-directory not working?, Rainer M Krug, 2016/09/19
- Re: [O] Capture with org-directory not working?, Nick Dokos, 2016/09/19
- Re: [O] Capture with org-directory not working?, Rainer M Krug, 2016/09/20
- Re: [O] Capture with org-directory not working?, Adam Porter, 2016/09/20
- Re: [O] Capture with org-directory not working?, Rainer Krug, 2016/09/20
- Re: [O] Capture with org-directory not working?,
Adam Porter <=
- Re: [O] Capture with org-directory not working?, Rainer Krug, 2016/09/21
- Re: [O] Capture with org-directory not working?, Adam Porter, 2016/09/21
- Re: [O] Capture with org-directory not working?, Rainer M Krug, 2016/09/21