summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el69
1 files changed, 1 insertions, 68 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 204b83a..8e69c1c 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -937,7 +937,7 @@
   :bind* (("C-<tab>" . company-complete))
   :bind  (("TAB" . company-complete))
   :init (progn
-          (setq company-backends '(company-bbdb company-web-html company-tern company-nxml company-css company-eclim company-semantic company-elisp
+          (setq company-backends '(company-web-html company-tern company-nxml company-css company-eclim company-semantic company-elisp
                                                 company-clang company-xcode company-cmake company-capf
                                                 company-files (company-gtags
                                                                company-etags company-keywords) company-oddmuse)
@@ -1135,73 +1135,6 @@ With two prefix arguments, write out the day and month name."
 (with-eval-after-load "mml-sec"
   (setq mml-secure-openpgp-encrypt-to-self t))
 
-;;;;; mu
-
-(use-package mu4e
-  :defines (mu4e-use-fancy-chars
-            mu4e-attachment-dir
-            mu4e-view-show-images
-            mu4e-update-interval
-            mu4e-maildir-shortcuts
-            mu4e-headers-date-format
-            mu4e-maildir
-            mu4e-mu-home
-            mu4e-sent-folder
-            mu4e-drafts-folder
-            mu4e-refile-folder
-            mu4e-trash-folder
-            mu4e-user-mail-address-list
-            mu4e-contexts)
-  :init (setq mail-user-agent 'mu4e-user-agent)
-  :config (progn
-            (add-to-list 'mu4e-view-actions '("view in browser" . mu4e-action-view-in-browser))
-
-            (setq mu4e-use-fancy-chars nil
-                  mu4e-attachment-dir "~/Downloads/"
-                  mu4e-view-show-images t
-                  mu4e-hide-index-messages t
-                  mu4e-completing-read-function #'ivy-completing-read
-                  mu4e-headers-date-format "%Y-%m-%d %H:%M"
-                  mu4e-update-interval 900
-                  mu4e-index-cleanup nil
-                  mu4e-index-lazy-check t
-
-                  mu4e-maildir (expand-file-name "~/mail")
-
-                  mu4e-change-filenames-when-moving t
-
-                  message-kill-buffer-on-exit t
-                  mu4e-compose-format-flowed t
-                  message-send-mail-function #'message-send-mail-with-sendmail
-                  sendmail-program "msmtp"
-
-                  mu4e-get-mail-command "mbsync -a"
-                  mu4e-context-policy 'pick-first
-                  mu4e-confirm-quit nil
-
-                  mu4e-contexts
-                  (list
-                   (make-mu4e-context
-                    :name "Satoshipay"
-                    :match-func (lambda (msg)
-                                  (when msg
-                                    (mu4e-message-contact-field-matches
-                                     msg :to "alan@satoshipay.io")))
-                    :vars `((user-mail-address . "alan@satoshipay.io")
-                            (mu4e-sent-messages-behavior . 'delete)
-                            (mu4e-drafts-folder . "/satoshipay/Drafts")
-                            (mu4e-sent-folder .   "/satoshipay/Sent Mail")
-                            (mu4e-refile-folder . "/satoshipay/All Mail")
-                            (mu4e-trash-folder .  "/satoshipay/Bin")
-                            (mu4e-maildir-shortcuts . (("/satoshipay/INBOX" . ?i)
-                                                       ("/satoshipay/All Mail" . ?a)
-                                                       ("/satoshipay/Sent Mail" . ?s)
-                                                       ("/satoshipay/Spam" . ?p)))))))
-            (define-hook-helper mu4e-view-mode ()
-              ;; try to emulate some of the eww key-bindings
-              (local-set-key (kbd "<tab>") 'shr-next-link)
-              (local-set-key (kbd "<backtab>") 'shr-previous-link))))
-
 ;;;; Misc
 
 (defun ap/remove-extra-cr ()