[Org] Slight capturing and agenda adjustments
This commit is contained in:
parent
af2eed664c
commit
558a5a9f5e
1 changed files with 17 additions and 15 deletions
28
config.org
28
config.org
|
@ -1099,8 +1099,14 @@ Forbid closing of todos with open subtasks.
|
||||||
Set org agenda files.
|
Set org agenda files.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-agenda-files (list "~/org/")
|
(setq org-agenda-files
|
||||||
org-agenda-text-search-extra-files (list "~/org/archive/"
|
(list
|
||||||
|
"~/org/"
|
||||||
|
"~/org/personal-computer/"
|
||||||
|
"~/org/projects/"))
|
||||||
|
|
||||||
|
(setq org-agenda-text-search-extra-files
|
||||||
|
(list "~/org/archive/"
|
||||||
"~/org/roam/"
|
"~/org/roam/"
|
||||||
"~/org/articles/"))
|
"~/org/articles/"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -1116,19 +1122,15 @@ Define org-capture templates.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "Normal task" entry (file "~/org/inbox.org")
|
'(("t" "Normal task" entry (file "~/org/inbox.org")
|
||||||
"* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:")
|
"* TODO %?\n:PROPERTIES:\n:CREATED: %U\n:END:")
|
||||||
("w" "Work task" entry (file "~/org/work.inbox.org")
|
("e" "E-Mail needing a reply" entry (file "~/org/inbox.org")
|
||||||
"* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:")
|
"* TODO Reply: %a\n:PROPERTIES:\n:CREATED: %U\n:END:"
|
||||||
("e" "E-Mail needing a reply" entry (file "~/org/emails.org")
|
|
||||||
"* TODO Reply: %a\n :PROPERTIES:\n :CREATED: %U\n :END:"
|
|
||||||
:immediate-finish t)
|
:immediate-finish t)
|
||||||
("p" "org-protocol-capture" entry (file "~/org/inbox.org")
|
("p" "org-protocol-capture" entry (file "~/org/inbox.org")
|
||||||
"* TODO [[%:link][%:description]]\n :PROPERTIES:\n :CREATED: %U\n :END:\n\n %i"
|
"* TODO [[%:link][%:description]]\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n%i"
|
||||||
:immediate-finish t)
|
:immediate-finish t)
|
||||||
("s" "Event" entry (file "~/org/events.org")
|
("r" "Reading todo" entry (file "~/org/read-review.org")
|
||||||
"* SOMEDAY %? %^G\n SCHEDULED: %^T\n :PROPERTIES:\n :CREATED: %U\n :END:")
|
"* TODO %^L %^G\n:PROPERTIES:\n:CREATED: %U\n:END:\n")))
|
||||||
("r" "Reading todo" entry (file "~/org/reading.org")
|
|
||||||
"* TODO %^L %^G\n :PROPERTIES:\n :CREATED: %U\n :END:\n")))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Configure refiling TODOs.
|
Configure refiling TODOs.
|
||||||
|
@ -1903,7 +1905,7 @@ Using this function I can now define a org-capture template for my purpose.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
'("a" "RSS Article" entry (file "~/org/reading.org")
|
'("a" "RSS Article" entry (file "~/org/read-review.org")
|
||||||
"* TODO %(elfeed-feed-title (mmk2410/org-capture-elfeed-entry-props 'elfeed-entry-feed)): [[%(mmk2410/org-capture-elfeed-entry-props 'elfeed-entry-link)][%(mmk2410/org-capture-elfeed-entry-props 'elfeed-entry-title)]]\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
|
"* TODO %(elfeed-feed-title (mmk2410/org-capture-elfeed-entry-props 'elfeed-entry-feed)): [[%(mmk2410/org-capture-elfeed-entry-props 'elfeed-entry-link)][%(mmk2410/org-capture-elfeed-entry-props 'elfeed-entry-title)]]\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
|
||||||
:immediate-finish t))
|
:immediate-finish t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue