fixed capture expansion

This commit is contained in:
petrucci4prez 2018-05-19 15:40:04 -04:00
parent ab801038ad
commit eb784761fc
2 changed files with 11 additions and 11 deletions

10
conf.el
View File

@ -420,11 +420,11 @@ event of an error or nonlocal exit."
(let ((capfile "~/Org/capture.org"))
(setq org-capture-templates
'(("t" "todo" entry (file capfile) "* TODO %?\ndeliverable: \n%U\n")
("n" "note" entry (file capfile) "* %? :\\%note:\n%U\n" )
("a" "appointment" entry (file capfile) "* %?\n%U\n%^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" ))))
`(("t" "todo" entry (file ,capfile) "* TODO %?\ndeliverable: \n%U\n")
("n" "note" entry (file ,capfile) "* %? :\\%note:\n%U\n" )
("a" "appointment" entry (file ,capfile) "* %?\n%U\n%^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" ))))
(setq org-refile-targets (quote ((nil :maxlevel . 9)
("~/Org/reference/idea.org" :maxlevel . 9)

View File

@ -604,11 +604,11 @@ There are several types of tags I use:
#+BEGIN_SRC emacs-lisp
(let ((capfile "~/Org/capture.org"))
(setq org-capture-templates
'(("t" "todo" entry (file capfile) "* TODO %?\ndeliverable: \n%U\n")
("n" "note" entry (file capfile) "* %? :\\%note:\n%U\n" )
("a" "appointment" entry (file capfile) "* %?\n%U\n%^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" ))))
`(("t" "todo" entry (file ,capfile) "* TODO %?\ndeliverable: \n%U\n")
("n" "note" entry (file ,capfile) "* %? :\\%note:\n%U\n" )
("a" "appointment" entry (file ,capfile) "* %?\n%U\n%^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" ))))
#+END_SRC
** refile
*** targets