Browse Source

Remove readme and comment out mail config #emacs

Colin Powell 6 years ago
parent
commit
a40c973531
2 changed files with 6 additions and 7 deletions
  1. 0 2
      README.org
  2. 6 5
      emacs/.config/doom/+mail.el

+ 0 - 2
README.org

@@ -1,2 +0,0 @@
-* Dotfiles
-** Philosophy

+ 6 - 5
emacs/.config/doom/+mail.el

@@ -22,7 +22,8 @@
      (:prefix "o"
      (:prefix "o"
        (:desc "APP: Email" "e" #'=mail))))
        (:desc "APP: Email" "e" #'=mail))))
   :config
   :config
-  (setq notmuch-fcc-dirs nil
+  (setq notmuch-fcc-dirs '((".*onec.me" . "colin@onec.me/Sent")
+                           (".*15five.com" . "colin.powell@15five.com/Sent")))
         notmuch-show-logo nil
         notmuch-show-logo nil
         notmuch-message-headers-visible nil
         notmuch-message-headers-visible nil
         message-kill-buffer-on-exit t
         message-kill-buffer-on-exit t
@@ -60,10 +61,10 @@
   (add-hook 'notmuch-tree-mode-hook (lambda () (setq-local line-spacing nil)))
   (add-hook 'notmuch-tree-mode-hook (lambda () (setq-local line-spacing nil)))
   (remove-hook 'message-mode-hook #'turn-on-auto-fill)
   (remove-hook 'message-mode-hook #'turn-on-auto-fill)
   (remove-hook 'notmuch-message-mode-hook #'turn-on-auto-fill)
   (remove-hook 'notmuch-message-mode-hook #'turn-on-auto-fill)
-  (push 'notmuch-tree-mode evil-snipe-disabled-modes)
-  (push 'notmuch-hello-mode evil-snipe-disabled-modes)
-  (push 'notmuch-search-mode evil-snipe-disabled-modes)
-  (push 'notmuch-show-mode evil-snipe-disabled-modes)
+  ;; (push 'notmuch-tree-mode evil-snipe-disabled-modes)
+  ;; (push 'notmuch-hello-mode evil-snipe-disabled-modes)
+  ;; (push 'notmuch-search-mode evil-snipe-disabled-modes)
+  ;; (push 'notmuch-show-mode evil-snipe-disabled-modes)
   (advice-add #'notmuch-start-notmuch-sentinel :override #'+mail/notmuch-start-notmuch-sentinel)
   (advice-add #'notmuch-start-notmuch-sentinel :override #'+mail/notmuch-start-notmuch-sentinel)
   (advice-add #'notmuch-show :override #'+mail/notmuch-show-reuse-buffer)
   (advice-add #'notmuch-show :override #'+mail/notmuch-show-reuse-buffer)
   (advice-add #'notmuch-hello-insert-searches :override #'+mail/notmuch-hello-insert-searches)
   (advice-add #'notmuch-hello-insert-searches :override #'+mail/notmuch-hello-insert-searches)