summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-05-26 06:49:01 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-05-26 06:49:01 +0900
commitdfc1c7d2e8d7d8d4e5ea16599ba9ed82d1a995b1 (patch)
tree49f26cb08eced392e17fcdb239ef89624daf7845
parent04c80d01af107d16017c7e72fc5892f3b217ada4 (diff)
downloaddotfiles-dfc1c7d2e8d7d8d4e5ea16599ba9ed82d1a995b1.tar.gz
improve finding TODOs on Org weekly review agenda
-rw-r--r--.emacs.d/init-org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/init-org.el b/.emacs.d/init-org.el
index 14814c00..bcb08480 100644
--- a/.emacs.d/init-org.el
+++ b/.emacs.d/init-org.el
@@ -481,6 +481,8 @@
(grep-find (concat "find " org-directory
" -regextype posix-egrep -type f"
args-together
+ " -not -regex '" (expand-file-name org-directory) "/archive/.*'"
+ " -not -name reading.org"
" -not -name archive.org -not -regex '" (expand-file-name org-directory) "/[ABCDEFGHIJKLMNOPQRSTUVWXYZ].*' -exec egrep -nH -e \"\\* \(TODO\|SOMEDAY\|WAITING\|SOONDAY\) \" {} +"))))
(defadvice org-agenda (after spw/org-agenda-run-find-non-agenda-todos activate)