From 85620f29a0973314f36f04656ad2b854f5345f86 Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 13 Nov 2022 10:57:17 +0100 Subject: [PATCH] some comments --- config.org | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 57c6b24..b4b0843 100644 --- a/config.org +++ b/config.org @@ -2,7 +2,7 @@ #+AUTHOR: Marc #+BABEL: :cache yes #+PROPERTY: header-args :tangle yes - +#+OPTIONS: ^:nil * TODOS - early-init.el? What to outsource here? - Paket exec-path-from-shell, um PATH aus Linux auch in emacs zu haben @@ -810,10 +810,24 @@ end_src #+END_SRC * orgmode +** some notes +*** Archiving +C-c C-x C-a + +To keep the subheading structure when archiving, set the properties of the superheading +#+begin_src org :tangle no +,* FOO +:PROPERTIES: +:ARCHIVE: %s_archive::* FOO +,** DONE BAR +,** TODO BAZ +#+end_src +When moving BAR to archive, it will go to FILENAME.org_archive below the heading FOO ** org :PROPERTIES: :ID: b89d7639-080c-4168-8884-bd5d8965f466 :END: + #+BEGIN_SRC emacs-lisp (use-package org :ensure org-plus-contrib @@ -858,7 +872,8 @@ end_src org-src-preserve-indentation t ;; no extra indentation org-src-tab-acts-natively t) - (setq org-log-done 'time)) ;; create timestamp when task is done + (setq org-log-done 'time ;; create timestamp when task is done + org-blank-before-new-entry '((heading) (plain-list-item)))) ;; prevent new line before new item #+END_SRC ** languages @@ -1129,6 +1144,7 @@ org-roam-db-sync (org-roam-db-autosync-mode)) #+END_SRC +*** TODO Verzeichnis außerhalb roam zum Archivieren (u.a. für erledigte Monatsmeldungen etc.) * Programming ** misc #+begin_src emacs-lisp