From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8750 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.gnus.user Subject: Re: automatically mark article expirable when first article in a thread is expirable Date: Mon, 26 Feb 2007 22:16:09 +0100 Message-ID: <87ps7wliw6.fsf@gmail.com> References: <87ejocpt78.fsf@voyageur.ups-tlse.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172526047 15204 80.91.229.12 (26 Feb 2007 21:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2007 21:40:47 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Feb 26 22:40:40 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLnaJ-0006QK-Bo for gegu-info-gnus-english@m.gmane.org; Mon, 26 Feb 2007 22:40:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLnaJ-0005vZ-6F for gegu-info-gnus-english@m.gmane.org; Mon, 26 Feb 2007 16:40:39 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 31 Original-X-Trace: individual.net bg0gYF2QhDm9Lpr5wm8laQdWb0hkIA0RvoQ8jJAMvdgunjpVak X-Orig-Path: news.individual.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:WFgxZ9zz4DpL8ZbQ0lTLc4Srlo8= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78934 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8750 Archived-At: David Bonnafous writes: > hi, > > 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 ? > > thanks, I have this in my .gnus.el for just that: (defun cg-gnus-summary-ignore-thread () (interactive) (let* ((hdr (gnus-summary-article-header)) (subj (aref hdr 1))) (gnus-summary-score-entry "Subject" subj 'S' -1000 (current-time-string)) (gnus-summary-limit-to-unread) (gnus-summary-scroll-up 0))) (define-key gnus-summary-mode-map (kbd "") 'cg-gnus-summary-ignore-thread) --