From dc38133c0551f0f7574b8bebf11313e00a128294 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 11:17:11 +0100 Subject: Configure Emacs GNUS --- emacs.el | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'emacs.el') diff --git a/emacs.el b/emacs.el index dbb1c5e..afe297e 100644 --- a/emacs.el +++ b/emacs.el @@ -36,3 +36,23 @@ (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) (setq-default nov-variable-pitch nil) + +;; GNUS Configuration +(setq-default gnus-auto-select-first nil + gnus-select-method '(nnnil "") + gnus-secondary-select-methods '((nnimap "outlook" + (nnimap-address "outlook.office365.com") + (nnimap-server-port 993) + (nnimap-stream ssl) + (nnimap-authinfo-file "~/.authinfo")) + (nnimap "home" + (nnimap-address "serwer1930490.home.pl") + (nnimap-server-port 993) + (nnimap-stream ssl) + (nnimap-authinfo-file "~/.authinfo"))) + nnmail-split-method 'nnmail-split-fancy + nnmail-split-fancy '(| "normal")) +(add-hook 'gnus-group-mode-hook 'gnus-topic-mode) + +;; Org Configuration +(setq-default org-contacts-files '("~/Dokumenty/UWM/filia w Ełku/Samorząd 2022/starostowie.org")) -- cgit v1.2.3