fixed capture expansion
This commit is contained in:
parent
ab801038ad
commit
eb784761fc
10
conf.el
10
conf.el
|
@ -420,11 +420,11 @@ event of an error or nonlocal exit."
|
||||||
|
|
||||||
(let ((capfile "~/Org/capture.org"))
|
(let ((capfile "~/Org/capture.org"))
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "todo" entry (file capfile) "* TODO %?\ndeliverable: \n%U\n")
|
`(("t" "todo" entry (file ,capfile) "* TODO %?\ndeliverable: \n%U\n")
|
||||||
("n" "note" entry (file capfile) "* %? :\\%note:\n%U\n" )
|
("n" "note" entry (file ,capfile) "* %? :\\%note:\n%U\n" )
|
||||||
("a" "appointment" entry (file capfile) "* %?\n%U\n%^t\n" )
|
("a" "appointment" entry (file ,capfile) "* %?\n%U\n%^t\n" )
|
||||||
("m" "multi-day" entry (file capfile) "* TODO %?\n%U\n%^t--%^t\n" )
|
("m" "multi-day" entry (file ,capfile) "* TODO %?\n%U\n%^t--%^t\n" )
|
||||||
("d" "deadline" entry (file capfile) "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" ))))
|
("d" "deadline" entry (file ,capfile) "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" ))))
|
||||||
|
|
||||||
(setq org-refile-targets (quote ((nil :maxlevel . 9)
|
(setq org-refile-targets (quote ((nil :maxlevel . 9)
|
||||||
("~/Org/reference/idea.org" :maxlevel . 9)
|
("~/Org/reference/idea.org" :maxlevel . 9)
|
||||||
|
|
10
conf.org
10
conf.org
|
@ -604,11 +604,11 @@ There are several types of tags I use:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(let ((capfile "~/Org/capture.org"))
|
(let ((capfile "~/Org/capture.org"))
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "todo" entry (file capfile) "* TODO %?\ndeliverable: \n%U\n")
|
`(("t" "todo" entry (file ,capfile) "* TODO %?\ndeliverable: \n%U\n")
|
||||||
("n" "note" entry (file capfile) "* %? :\\%note:\n%U\n" )
|
("n" "note" entry (file ,capfile) "* %? :\\%note:\n%U\n" )
|
||||||
("a" "appointment" entry (file capfile) "* %?\n%U\n%^t\n" )
|
("a" "appointment" entry (file ,capfile) "* %?\n%U\n%^t\n" )
|
||||||
("m" "multi-day" entry (file capfile) "* TODO %?\n%U\n%^t--%^t\n" )
|
("m" "multi-day" entry (file ,capfile) "* TODO %?\n%U\n%^t--%^t\n" )
|
||||||
("d" "deadline" entry (file capfile) "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" ))))
|
("d" "deadline" entry (file ,capfile) "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" ))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** refile
|
** refile
|
||||||
*** targets
|
*** targets
|
||||||
|
|
Loading…
Reference in New Issue