[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automatically mark article expirable when first article in a thread
Re: automatically mark article expirable when first article in a thread is expirable
Mon, 26 Feb 2007 22:16:09 +0100
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)
David Bonnafous <firstname.lastname@example.org> writes:
> I am not a lisp guru, so if someone resolved this problem, could you
> explain me how ?
> I subscribed lots of mailing list. When a new thread begin, if the
> subject of this thread don't interest me I must delete (or mark as
> expirable) all the next mails in that thread. It is annoying...
> Gnus is certainly able to do that for me, but how ?
I have this in my .gnus.el for just that:
(defun cg-gnus-summary-ignore-thread ()
(let* ((hdr (gnus-summary-article-header))
(subj (aref hdr 1)))
(gnus-summary-score-entry "Subject" subj 'S' -1000
(define-key gnus-summary-mode-map (kbd "<f7>") 'cg-gnus-summary-ignore-thread)