From e7a0af01ab22f912c9c93c78349962f23a85a63a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 4 Jun 2023 15:37:03 -0700 Subject: [oni-org] Add my tickler file to my refile targets --- oni-org/oni-org.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'oni-org/oni-org.el') diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 3aa3073..28742e7 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0604.153139 +;; Version: 2023.0604.153631 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table) ;; This program is free software; you can redistribute it and/or modify @@ -78,6 +78,10 @@ (expand-file-name "someday.org" oni-org-todo-dir) "The file for TODO notes I will want to do some day, but not today.") +(defconst oni-org-todo-tickler-file + (expand-file-name "tickler.org" oni-org-todo-dir) + "The tickler file for TODO notes of the future.") + ;;; Fake org-roam -- oni-org-exocortex ;; I tried using org-roam v2 with Orgro, but it didn’t work. I’ve only been ;; using org-roam to more easily find and insert strings. The file renaming in @@ -727,7 +731,8 @@ After running it once remove it from `org-capture-after-finalize-hook'." ;; ‘oni-org-todo-main-file', and the top of ‘oni-org-todo-someday-file'. (setq org-refile-targets '((nil . (:maxlevel . 10)) (oni-org-todo-main-file . (:maxlevel . 10)) - (oni-org-todo-someday-file . (:maxlevel . 1)))) + (oni-org-todo-someday-file . (:maxlevel . 1)) + (oni-org-todo-tickler-file . (:level . 1)))) (define-key org-mode-map (kbd "C-c C-S-w") #'oni-org-refile-to-top) -- cgit v1.2.3-54-g00ecf