aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-org/oni-org.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index b2a55ff..4107153 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2022.0111.140419
+;; Version: 2022.0112.104156
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti mixed-pitch)
;; This program is free software; you can redistribute it and/or modify
@@ -73,6 +73,10 @@
(expand-file-name "everything.org" oni-org-todo-dir)
"The main file for TODO notes.")
+(defconst oni-org-todo-someday-file
+ (expand-file-name "someday.org" oni-org-todo-dir)
+ "The file for TODO notes I will want to do some day, but not today.")
+
;;; 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
@@ -734,8 +738,11 @@ After running it once remove it from `org-capture-after-finalize-hook'."
org-refile-allow-creating-parent-nodes 'confirm
org-log-refile 'time)
+;; Refiling can go to any heading in the current file, any heading in
+;; ‘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-main-file . (:maxlevel . 10))
+ (oni-org-todo-someday-file . (:maxlevel . 1))))
;;; Export
(require 'ox-html)