This way, everyone benefits.
;;; (c) 2014 Mark Wooding
;;;
;;; (c) 2014 Mark Wooding
;;;
-;;;--------------------------------------------------------------------------
-;;; Random configuration.
-
(setq auth-sources '("~/.gnus.authinfo"))
(setq auth-sources '("~/.gnus.authinfo"))
-(remove-hook 'gnus-mark-article-hook
- 'gnus-summary-mark-read-and-unread-as-read)
-(add-hook 'gnus-mark-article-hook 'gnus-summary-mark-unread-as-read)
-
-(setq gnus-level-unsubscribed 6)
-
;;;--------------------------------------------------------------------------
;;; How to send mail.
;;;--------------------------------------------------------------------------
;;; How to send mail.
" ")))
(add-hook 'gnus-article-mode-hook #'mdw-gnus-article-setup)
" ")))
(add-hook 'gnus-article-mode-hook #'mdw-gnus-article-setup)
+;; Don't expire articles on selection if they're alread read. This provides
+;; a handy way to prevent expiry, and actually forcing expiry isn't
+;; significantly harder.
+(remove-hook 'gnus-mark-article-hook
+ 'gnus-summary-mark-read-and-unread-as-read)
+(add-hook 'gnus-mark-article-hook 'gnus-summary-mark-unread-as-read)
+
+;; Leave an oubliette level 7 for broken things which look like mailboxes.
+;; Otherwise Gnus keeps on resurrecting them and later realising that they're
+;; bogus.
+(setq gnus-level-unsubscribed 6)
+
;;;--------------------------------------------------------------------------
;;; Magic for sending mail the correct way.
;;;--------------------------------------------------------------------------
;;; Magic for sending mail the correct way.