[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.
This commit is contained in:
parent
b18f400401
commit
f34308bf66
1 changed files with 9 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; 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)
|
;; 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
|
;; 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)
|
(expand-file-name "everything.org" oni-org-todo-dir)
|
||||||
"The main file for TODO notes.")
|
"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
|
;;; Fake org-roam -- oni-org-exocortex
|
||||||
;; I tried using org-roam v2 with Orgro, but it didn’t work. I’ve only been
|
;; 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
|
;; 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-refile-allow-creating-parent-nodes 'confirm
|
||||||
org-log-refile 'time)
|
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))
|
(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
|
;;; Export
|
||||||
(require 'ox-html)
|
(require 'ox-html)
|
||||||
|
|
Loading…
Reference in a new issue