From 9f7c8b8d69f47d41b4fe75d6a9adda7365e7dc37 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 10 Nov 2018 08:29:14 +0100 Subject: [PATCH] [Org] Move some personal settings to init.el --- init.el | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index e9921e8..ddf56d8 100644 --- a/init.el +++ b/init.el @@ -708,7 +708,8 @@ (run-with-idle-timer 20 t #'db/export-diary)) ;; Drag-and-Drop images into org-mode buffer - (use-package org-download) + (use-package org-download + :init (setq org-download-method 'attach)) ;; Hack: The default implementation is too slow, because it is ;; parsing all properties of an entry by default. Let’s simplify @@ -880,6 +881,12 @@ ("NOP") "") + org-agenda-prefix-format + '((agenda . "%11s%?-12t") + (todo . "%-8c ") + (tags . "%-8c ") + (search . "%-8c ")) + org-agenda-custom-commands `(("A" "Main List" ((agenda @@ -942,7 +949,10 @@ ("N" "Notes" tags "NOTE" ((org-agenda-overriding-header "Notes") (org-use-tag-inheritance nil) - (org-agenda-prefix-format '((tags . " "))))))) + (org-agenda-prefix-format '((tags . " ")))))) + + org-babel-load-languages '((shell . t) + (emacs-lisp . t))) :config (progn ;; avoid important buffers to end up in `org-agenda-new-buffers’ by ;; opening them manually @@ -1181,7 +1191,9 @@ (use-package nsm :defer t :init (setq network-security-level 'high - nsm-save-host-names t) + nsm-save-host-names t + nsm-settings-file (expand-file-name + "~/.emacs.d/private/network-security.data")) :config (advice-add 'nsm-write-settings :before #'db/sort-nsm-permanent-settings))