From d4b2a7ef4e846259edb37593e399d4260afe168f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 24 Dec 2018 15:59:57 -0500 Subject: [PATCH 1/1] [emacs][wip] enable Email --- init.org | 30 +++++++++++++++--------------- straight/versions/default.el | 2 ++ 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/init.org b/init.org index 9985ae5..16351aa 100644 --- a/init.org +++ b/init.org @@ -2102,7 +2102,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. ("a" . mc/mark-all-like-this)))) #+end_src -* COMMENT Email +* Email :PROPERTIES: :CUSTOM_ID: email :END: @@ -2121,7 +2121,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. mail-user-agent 'gnus-user-agent read-mail-command 'gnus) -(use-package gnus +(use-feature gnus :bind (("s-m" . gnus) ("s-M" . gnus-unplugged)) :init @@ -2154,7 +2154,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. gnus-interactive-exit nil gnus-gcc-mark-as-read t)) -(use-package gnus-art +(use-feature gnus-art :config (setq gnus-visible-headers @@ -2183,7 +2183,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. ("R" . gnus-article-wide-reply-with-original) ("M-L" . org-store-link))) -(use-package gnus-sum +(use-feature gnus-sum :bind (:map gnus-summary-mode-map :prefix-map a/gnus-summary-prefix-map :prefix "v" @@ -2198,7 +2198,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. ("M-L" . org-store-link)) :hook (gnus-summary-mode . a/no-mouse-autoselect-window)) -(use-package gnus-msg +(use-feature gnus-msg :config (setq gnus-posting-styles '((".*" @@ -2215,19 +2215,19 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. (address "abandali@uwaterloo.ca") (gcc "\"nnimap+uwaterloo:Sent Items\""))))) -(use-package gnus-topic +(use-feature gnus-topic :hook (gnus-group-mode . gnus-topic-mode)) -(use-package gnus-agent +(use-feature gnus-agent :config (setq gnus-agent-synchronize-flags 'ask) :hook (gnus-group-mode . gnus-agent-mode)) -(use-package gnus-group +(use-feature gnus-group :config (setq gnus-permanently-visible-groups "\\((INBOX\\|gnu$\\)")) -(use-package mm-decode +(use-feature mm-decode :config (setq mm-discouraged-alternatives '("text/html" "text/richtext"))) #+end_src @@ -2235,7 +2235,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. ** sendmail #+begin_src emacs-lisp -(use-package sendmail +(use-feature sendmail :config (setq sendmail-program "/usr/bin/msmtp" ;; message-sendmail-extra-arguments '("-v" "-d") @@ -2246,7 +2246,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. ** message #+begin_src emacs-lisp -(use-package message +(use-feature message :config (defconst a/message-cite-style-format "On %Y-%m-%d %l:%M %p, %N wrote:") (defconst message-cite-style-bandali @@ -2291,7 +2291,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. Convenient footnotes in =message-mode=. #+begin_src emacs-lisp -(use-package footnote +(use-feature footnote :after message :bind (:map message-mode-map @@ -2321,7 +2321,7 @@ Convenient footnotes in =message-mode=. (with-eval-after-load 'swiper (add-to-list 'swiper-font-lock-exclude 'ebdb-mode t))) -(use-package ebdb-com +(use-feature ebdb-com :after ebdb) ;; (use-package ebdb-complete @@ -2338,7 +2338,7 @@ Convenient footnotes in =message-mode=. (add-to-list (make-local-variable 'company-backends) 'company-ebdb)))) -(use-package ebdb-gnus +(use-feature ebdb-gnus :after ebdb :custom (ebdb-gnus-window-configuration @@ -2349,7 +2349,7 @@ Convenient footnotes in =message-mode=. (article 1.0) (ebdb-gnus 0.3)))))) -(use-package ebdb-mua +(use-feature ebdb-mua :after ebdb ;; :custom (ebdb-mua-pop-up nil) ) diff --git a/straight/versions/default.el b/straight/versions/default.el index a6b6713..e5e1e48 100644 --- a/straight/versions/default.el +++ b/straight/versions/default.el @@ -4,11 +4,13 @@ ("auto-compile" . "6ce4255ab9a0b010ef8414c5bd9a6d6d9eea012f") ("boxquote.el" . "7e47e0e2853bc1215739b2e28f260e9eed93b2c5") ("cl-lib" . "deb92588d9d83d46c4698936ea31c5f58d244f04") + ("company-ebdb" . "3b463fe1236ac6445657f3a1df20357a7a2fa8f6") ("company-mode" . "b696b3943d2a55aed937cb0ba971d6e29b2e3a8b") ("crux" . "308f17d914e2cd79cbc809de66d02b03ceb82859") ("dante" . "8d5e00d268aa37d91baaa675cead953e58f19c6d") ("dash.el" . "6514359b8606a6a9a94068ccd601fcd6379d6584") ("diff-hl" . "2cddce48d472111f178da84d44656f92012aa64b") + ("ebdb" . "51733ece51fcae699e977703d61f2f2ebaea70b1") ("elisp-refs" . "a8900dab9f8e2925ce5dea0f97bdac4ce47714d9") ("emacs-async" . "81dc034572e963550c5403a2b3c28047e46b4029") ("emacs-doom-themes" . "2f4a0cdf287a086d45a1d9e8536ace6a2e152318") -- 2.20.1