From 3666deaed5b0baf0a74f14db5872105c9e7865f9 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Wed, 13 Jan 2021 13:01:34 +0800 Subject: A temporary intermeidate step Now I got almost every functionality that we need, including pdf, mu4e, magit, et cetera. --- gnus-conf.el | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'gnus-conf.el') diff --git a/gnus-conf.el b/gnus-conf.el index 1a5ff18..f1b0b2c 100644 --- a/gnus-conf.el +++ b/gnus-conf.el @@ -1,15 +1,31 @@ ;;; gnus-conf.el --- My Gnus configurations -*- lexical-binding: t; -*- (require 'gnus) +(require 'epa) +(epa-file-enable) (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods - '((nntp "news.gmane.io") + '(;; (nntp "news.gmane.io") (nnmaildir "private" (directory "~/.nnmaildir")) - (nnmaildir "sent" (directory "~/.nnmaildir")))) + ;; (nnmaildir "sent" (directory "~/.nnmaildir")) + ;; (nnimap "LocalMail" + ;; (nnimap-address "localhost") + ;; (nnimap-stream network) + ;; (nnimap-server-port 143)) + )) (setq gnus-ignored-from-addresses "mmemmew@gmail.com") +(setq send-mail-function #'smtpmail-send-it) +(setq smtpmail-smtp-user "mmemmew@gmail.com") + +(setq gnus-user-agent '(emacs gnus config)) + +(setq mail-user-agent 'gnus-user-agent) + +(setq read-mail-command 'gnus) + (set 'gnus-novice-user nil) (setq nnmail-expiry-wait 'immediate) @@ -18,7 +34,7 @@ '((".*" (posting-style (gcc "nnmaildir+private:Sent") - (From (format "%s" user-full-name)))))) + (From (format "Durand <%s>" user-mail-address)))))) (require 'gnus-msg) -- cgit v1.2.3-18-g5258