Commit 3ff62466cbdd

Vincent Demeester <vincent@sbr.pm>
2020-03-01 16:17:31
Add a not on archiving and set org-archive-location 🎨
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 77add42
Changed files (2)
config/setup-org.el
@@ -64,6 +64,7 @@
         org-fontify-whole-heading-line t
         org-pretty-entities t
         org-ellipsis " …"
+        org-archive-location (concat org-default-completed-dir "/%s::datetree/")
         org-use-property-inheritance t
         org-global-properties (quote (("EFFORT_ALL" . "0:15 0:30 0:45 1:00 2:00 3:00 4:00 5:00 6:00 0:00")
                                       ("STYLE_ALL" . "habit")))
emacs.org
@@ -770,6 +770,9 @@
   Additionally, when I log those state changes, I don't want them to pollute the content
   of the to-do (aka description, …). Setting =org-log-int-drawer= will insert those logs
   in a =LOGBOOK= drawer (same as the property drawer).
+- Archiving :: I don't want to pollute my current folder with =_archive= files, so I am
+  redefining =org-archive-location= to archive to my =org-default-completed-dir=, also
+  using =datetree= to put archived items in a datetree.
 - Miscellaneous ::
   + I am setting up =org-use-property-inheritance= to make children node inherit their
     parent property. It has a cost on search but I feel, as for tag inheritance, it is
@@ -836,6 +839,7 @@
         org-fontify-whole-heading-line t
         org-pretty-entities t
         org-ellipsis " …"
+        org-archive-location (concat org-default-completed-dir "/%s::datetree/")
         org-use-property-inheritance t
         org-global-properties (quote (("EFFORT_ALL" . "0:15 0:30 0:45 1:00 2:00 3:00 4:00 5:00 6:00 0:00")
                                       ("STYLE_ALL" . "habit")))
@@ -1079,11 +1083,6 @@
   :after (org))
 #+end_src
 
-*** TODO Archiving
-:PROPERTIES:
-:CUSTOM_ID: h:fc91dae6-27dc-43de-98bb-09cfcd666ee3
-:END:
-
 *** TODO Litterate programming
 :PROPERTIES:
 :CUSTOM_ID: h:b5f6beba-6195-4ff0-a194-502ac2a9e3da