ENH make capture templates more turnkey
This commit is contained in:
parent
0852c1f2c3
commit
34675aaf65
21
etc/conf.org
21
etc/conf.org
|
@ -2500,10 +2500,10 @@ NOTE: Capitalized entries store a link to the capture along with writing to the
|
||||||
(time-add (current-time) (days-to-time 1))))
|
(time-add (current-time) (days-to-time 1))))
|
||||||
|
|
||||||
(let* ((capfile "~/Org/capture.org")
|
(let* ((capfile "~/Org/capture.org")
|
||||||
(todo-options `(entry (file ,capfile) "* %(eval org-x-kw-todo) %?\n"))
|
(todo-options `(entry (file ,capfile) "* %(eval org-x-kw-todo) %^{Task Name}\n%?"))
|
||||||
(deadline-options `(entry (file ,capfile)
|
(deadline-options `(entry (file ,capfile)
|
||||||
,(concat "* %(eval org-x-kw-todo) %?\n"
|
,(concat "* %(eval org-x-kw-todo) %^{Deadline Name}\n"
|
||||||
"DEADLINE: %^t\n"))))
|
"DEADLINE: %^t\n%?"))))
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
;; regular TODO task
|
;; regular TODO task
|
||||||
`(("t" "todo" ,@todo-options)
|
`(("t" "todo" ,@todo-options)
|
||||||
|
@ -2511,17 +2511,17 @@ NOTE: Capitalized entries store a link to the capture along with writing to the
|
||||||
|
|
||||||
;; for useful reference information that may be grouped with tasks
|
;; for useful reference information that may be grouped with tasks
|
||||||
("n" "note" entry (file ,capfile)
|
("n" "note" entry (file ,capfile)
|
||||||
"* %?\n")
|
"* %^{Note Title}\n%?")
|
||||||
|
|
||||||
;; for non-actionable events that happen at a certain time
|
;; for non-actionable events that happen at a certain time
|
||||||
("a" "appointment" entry (file ,capfile)
|
("a" "appointment" entry (file ,capfile)
|
||||||
,(concat "* %?\n"
|
,(concat "* %^{Apt Title}\n"
|
||||||
"%^t\n"))
|
"%^t\n%?"))
|
||||||
|
|
||||||
;; like appointment but multiple days
|
;; like appointment but multiple days
|
||||||
("s" "appointment-span" entry (file ,capfile)
|
("s" "appointment-span" entry (file ,capfile)
|
||||||
,(concat "* %?\n"
|
,(concat "* %^{Apt Title}\n"
|
||||||
"%^t--%^t\n"))
|
"%^t--%^t\n%?"))
|
||||||
|
|
||||||
;; task with a deadline
|
;; task with a deadline
|
||||||
("d" "deadline" ,@deadline-options)
|
("d" "deadline" ,@deadline-options)
|
||||||
|
@ -2535,10 +2535,11 @@ NOTE: Capitalized entries store a link to the capture along with writing to the
|
||||||
|
|
||||||
;; make meetings suck less
|
;; make meetings suck less
|
||||||
("m" "meeting" entry (file ,capfile)
|
("m" "meeting" entry (file ,capfile)
|
||||||
,(concat "* TODO%?\t:%(eval org-x-tag-meeting):\n"
|
,(concat "* TODO %^{Meeting Title}\t:%(eval org-x-tag-meeting):\n"
|
||||||
"SCHEDULED: %^t\n"
|
"SCHEDULED: %^t\n"
|
||||||
|
"%^{Effort}p"
|
||||||
"attendees:\n\n"
|
"attendees:\n\n"
|
||||||
"notes:"))
|
"notes:%?"))
|
||||||
|
|
||||||
;; for capturing web pages with web browser
|
;; for capturing web pages with web browser
|
||||||
("p" "org-protocol" entry (file ,capfile)
|
("p" "org-protocol" entry (file ,capfile)
|
||||||
|
|
Loading…
Reference in New Issue