]> git.earman.xyz Git - emacsinit.git/commitdiff
Start org folded, allow refile to DONE tasks
authorrearman <rearman@r717.net>
Mon, 4 Mar 2024 16:08:54 +0000 (11:08 -0500)
committerrearman <rearman@r717.net>
Mon, 4 Mar 2024 16:08:54 +0000 (11:08 -0500)
init.org

index 9f88b445ddade12afd6d2a9dafe8a5627a9c3bbc..8fbc6f8e7c9fc1de909e99d77e0971b1935254e4 100644 (file)
--- a/init.org
+++ b/init.org
@@ -488,7 +488,8 @@ Just some basic/misc stuff.  I don't think I've seen too many configs that don't
       org-deadline-warning-days 30
       org-table-export-default-format "orgtbl-to-csv"
       org-agenda-window-setup 'current-window
-      org-link-file-path-type 'absolute)
+      org-link-file-path-type 'absolute
+      org-startup-folded t)
 #+END_SRC
 
 *** Bindings
@@ -525,15 +526,6 @@ Let me refile anywhere, use outline paths, confirm when creating parent nodes.
       org-refile-allow-creating-parent-nodes '(confirm))
 #+END_SRC
 
-Exclude =DONE= state tasks from refile targets
-#+BEGIN_SRC emacs-lisp
-(defun re/verify-refile-target ()
-  "Exclude todo keywords with a done state from refile targets"
-  (not (member (nth 2 (org-heading-components)) org-done-keywords)))
-
-(setq org-refile-target-verify-function 're/verify-refile-target)
-#+END_SRC
-
 *** Keywords and Filtering
 Set up some more todo keywords
 #+BEGIN_SRC emacs-lisp