From d7b3855592713d4bf43b2bb51c8b11bcfdc5988a Mon Sep 17 00:00:00 2001 From: rearman Date: Mon, 4 Mar 2024 11:08:54 -0500 Subject: [PATCH] Start org folded, allow refile to DONE tasks --- init.org | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/init.org b/init.org index 9f88b44..8fbc6f8 100644 --- 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 -- 2.39.5