summaryrefslogtreecommitdiff
path: root/suweren
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-08-01 14:24:26 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-08-01 18:06:30 +0200
commit7fbc779c7b055fdd3f546cc64a56b2f1f7e40e29 (patch)
treea44f4de59b6fa1a7827854ac605384e0ca7deb92 /suweren
parenteaddf67b7500bff8639daf69f9a56f7afc0b10ba (diff)
config(gnus): implement proper archival of sent messages
Diffstat (limited to 'suweren')
-rw-r--r--suweren/home/emacs-gnus.el20
1 files changed, 17 insertions, 3 deletions
diff --git a/suweren/home/emacs-gnus.el b/suweren/home/emacs-gnus.el
index 120f8a2..84c29f7 100644
--- a/suweren/home/emacs-gnus.el
+++ b/suweren/home/emacs-gnus.el
@@ -1,12 +1,26 @@
(setq gnus-select-method
'(nnimap "personal"
(nnimap-address "marekpasnikowski.pl")
- (nnimap-user "marek")))
+ (nnimap-user "marek")
+ (nnimap-inbox "INBOX")))
(setq gnus-secondary-select-methods
'((nnimap "guix-devel"
(nnimap-address "marekpasnikowski.pl")
- (nnimap-user "guix-devel"))
+ (nnimap-user "guix-devel")
+ (nnimap-inbox "INBOX"))
(nnimap "help-guix"
(nnimap-address "marekpasnikowski.pl")
- (nnimap-user "help-guix"))))
+ (nnimap-user "help-guix")
+ (nnimap-inbox "INBOX"))))
+
+;; (alist string parameter)
+(setq gnus-parameters
+ '(("personal" (posting-style (address "marek@marekpasnikowski.pl")))
+ ("guix-devel" (posting-style (address "marek@marekpasnikowski.pl")
+ (gcc nil)))
+ ("help-guix" (posting-style (address "marek@marekpasnikowski.pl")
+ (gcc nil)))))
+
+(setq gnus-message-archive-group
+ (format-time-string "nnimap+personal:Archive.%Y-%m"))