Add gnus-options{,-not}-subscribe settings

Does this leak a little bit?  Sure.  But I /think/ (god, I pray) it's okay.
This commit is contained in:
Case Duckworth 2021-04-27 17:20:17 -05:00
parent 8b3af62cc9
commit 693ef0e7d0
1 changed files with 46 additions and 0 deletions

46
gnus.el
View File

@ -27,6 +27,52 @@
(nnir-search-engine imap))
(nntp "news.tilde.club")))
;;; Gnus subscriptions
(setq gnus-options-subscribe (rx (or ;; all alternatives go under this
(seq string-start
"nnimap+fastmail.com:"
(or ;; folders in Fastmail
"INBOX")))
(seq string-start
"nntp+news.tilde.club:"
(or ;; news groups in tilde.club
(seq "local."
(or "general"))
(seq "tilde."
(or "art"
"club"
"cosmic"
"food+drink"
"gopher"
"meta"
"poetry"
"services"))))))
(setq gnus-options-not-subscribe (rx (or ;; all alternatives go under this
(seq string-start
"nnimap+fastmail.com:"
(or ;; folders in Fastmail
"Archive"
"Bulk"
"DeltaChat"
"Gmail"
"Pam"
"Spam"
"Trash"
"blag"
"notes"))
(seq string-start
"nntp+news.tilde.club:"
(or ;; news groups in tilde.club
(seq "tilde."
(or "black"
"javascript"
"nsfw"
"php"
"pink"
"python"
"your")))))))
;;; Gnus behavior options
(setq gnus-gcc-mark-as-read t
message-signature (or (file-exists-p message-signature-file)