From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8751 Path: news.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.user Subject: Re: automatically mark article expirable when first article in a thread is expirable Date: Mon, 26 Feb 2007 17:03:57 -0500 Organization: Massachusetts Institute of Technology Message-ID: 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 1172529654 28178 80.91.229.12 (26 Feb 2007 22:40:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2007 22:40:54 +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 23:40:47 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 1HLoWU-0000Vm-AH for gegu-info-gnus-english@m.gmane.org; Mon, 26 Feb 2007 23:40:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLoWU-0001KM-54 for gegu-info-gnus-english@m.gmane.org; Mon, 26 Feb 2007 17:40:46 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (usg-unix-v) Cancel-Lock: sha1:fOvMPxCkZiaBSezPJIyJ9xjR4bM= Original-Lines: 47 Original-NNTP-Posting-Host: CONTENTS-VNDER-PRESSVRE.MIT.EDU Original-X-Trace: 1172527437 senator-bedfellow.mit.edu 560 18.7.18.65 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78935 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:8751 Archived-At: David Bonnafous 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 ? My mailing list approach isn't exactly what you describe, but it might wind up having the same net effect and works almost out-of-the-box. (1) Things that are mailing lists are marked total-expirable using group properties ('G c' from the group buffer for the friendly interface, 'G p' for the unfriendly interface). Then any article that is marked read in any form is considered for expiry, expirable marks are irrelevant. (2) I use Gnus' automatic scoring mechanism to remember which articles I like and dislike: (setq gnus-use-adaptive-scoring '(word line) gnus-decay-scores t) (3) If I "like" a thread, I read it normally; if I "dislike" it, I explicitly kill it with C-k from the summary buffer. This causes the author/subject (though not the thread per se) to have their scores increased or decreased, respectively, when I exit the group. (4) The next time I come back to the group, Gnus compares the subject lines and authors with the saved score information. Threads I've previously killed off (and ones that sound similar) get negative scores. Articles with negative scores get automatically marked read with no intervention on my part (though they do appear when I open the summary buffer). There's quite a bit on scoring in the Gnus manual; see (gnus)Scoring. I've gone over the expiry options quite recently on this newsgroup. The only real difference between my scheme and yours is that you'll wind up deleting the threads you don't read and keeping the rest (forever, assuming no other expiry options); both my liked and disliked threads stick around until the expiry hits. --dzm