diff options
author | Tom Willemse | 2022-01-12 10:42:06 -0800 |
---|---|---|
committer | Tom Willemse | 2022-01-12 10:42:06 -0800 |
commit | f34308bf6607e717d1d4bebb8a7546d899fd1e01 (patch) | |
tree | 6944531fb66ea7dd89386b2edc70fbbbe779db75 /oni-org/oni-org.el | |
parent | b18f4004019a01617807779e9722a2f728c43f8c (diff) | |
download | emacs-config-f34308bf6607e717d1d4bebb8a7546d899fd1e01.tar.gz emacs-config-f34308bf6607e717d1d4bebb8a7546d899fd1e01.zip |
[oni-org] Allow refiling to someday.org
I'm trying to get a little more serious about GTD, and using a someday file is
part of that.
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r-- | oni-org/oni-org.el | 11 |
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) |