diff --git a/config.org b/config.org index d5d7299..e34a788 100644 --- a/config.org +++ b/config.org @@ -739,14 +739,14 @@ echo 'cleaned .elc from package directory' (concat PATH_ORG_FILES "todo.org")))) ("home" (progn - (defvar PATH_ORG_FILES_MOBILE "~/Archiv/Organisieren/mobile/") - (defvar PATH_ORG_JOURNAL "~/Archiv/Organisieren/Journal/") - (defvar PATH_ORG_FILES "~/Archiv/Organisieren/") + (defvar PATH_ORG_FILES_MOBILE "~/Archiv/Organisieren/mobile/") + (defvar PATH_ORG_JOURNAL "~/Archiv/Organisieren/Journal/") + (defvar PATH_ORG_FILES "~/Archiv/Organisieren/") (setq org-default-notes-file (concat PATH_ORG_FILES "notes.org")) - ;; includes subdirectories, too + ;; TODO: ignore notes.org, which shouldn't include any todos +;; (setq org-agenda-file-regexp "'\\`[^.].*\\.org\\'") (setq org-agenda-files (list PATH_ORG_FILES PATH_ORG_FILES_MOBILE)))) ) - (setq org-id-locations-file (concat PATH_USER_LOCAL ".org-id-locations")) #+END_SRC @@ -774,6 +774,12 @@ echo 'cleaned .elc from package directory' (setq org-tags-column 45) #+END_SRC + Set the org-refile targets. + TODO: change maxlevel if necessary + +#+BEGIN_SRC emacs-lisp +(setq org-refile-targets '((org-agenda-files . (:maxlevel . 1)))) +#+END_SRC *** Org key bindings Set up some global key bindings that integrate with Org mode features