X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=buster%2Fhome_files%2Fuser_eeepc%2F.emacs.d%2Finit.el;h=158a12ae83abc1b3e93a83d71b86d8e31bacd465;hb=708171ff29d1749743ff43a2e69a32d844dde5aa;hp=b2118833ebccef616605325364df4b01320b2d7e;hpb=2b04894838f33d207dbd1acde46327ecd6b96dff;p=config diff --git a/buster/home_files/user_eeepc/.emacs.d/init.el b/buster/home_files/user_eeepc/.emacs.d/init.el index b211883..158a12a 100644 --- a/buster/home_files/user_eeepc/.emacs.d/init.el +++ b/buster/home_files/user_eeepc/.emacs.d/init.el @@ -97,6 +97,7 @@ ("melpa-stable" . "https://stable.melpa.org/packages/"))) ;; ensure certain packages are installed (actually, we use Debian repos here) +;; credit to ;(setq package-list '(elfeed ledger-mode)) ;(package-initialize) ;(dolist (package package-list) @@ -113,6 +114,28 @@ +;; mail setup +;; ========== + +(setq send-mail-function 'smtpmail-send-it) +(setq smtpmail-smtp-server "core.plomlompom.com") +(setq smtpmail-smtp-service 465) +(setq smtpmail-stream-type 'ssl) +(setq smtpmail-smtp-user "plom") +(setq mml-secure-openpgp-encrypt-to-self t) +(add-hook 'message-setup-hook 'mml-secure-sign-pgpmime) + +;; constructs From: domain if mail composer directly called (from without +;; notmuch), but we don't actually intend to do that +;(setq mail-host-address "plomlompom.com") + +;; otherwise notmuch becomes extremely slow in some cases +(setq-default notmuch-show-indent-content nil) + +;; this only works if we use notmuch-mua-send instead of message-send +(setq notmuch-fcc-dirs '(("plom@plomlompom.com" . "maildir/Sent"))) + + ;; org mode ;; ========