From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46909 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Limit summary to participant Date: Wed, 02 Oct 2002 00:08:54 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87ofad4h49.fsf@uwo.ca> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033531905 5910 127.0.0.1 (2 Oct 2002 04:11:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 04:11:45 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17warQ-0001X3-00 for ; Wed, 02 Oct 2002 06:11:44 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17wapC-0004pK-00; Tue, 01 Oct 2002 23:09:26 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 01 Oct 2002 23:10:06 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA29116 for ; Tue, 1 Oct 2002 23:09:53 -0500 (CDT) Original-Received: (qmail 127 invoked by alias); 2 Oct 2002 04:09:08 -0000 Original-Received: (qmail 122 invoked from network); 2 Oct 2002 04:09:08 -0000 Original-Received: from pony.its.uwo.ca (129.100.2.63) by gnus.org with SMTP; 2 Oct 2002 04:09:08 -0000 Original-Received: from femail.its.uwo.ca (hurdle.its.uwo.ca [129.100.2.108]) by pony.its.uwo.ca (8.12.6/8.12.0) with ESMTP id g9249298005949 for ; Wed, 2 Oct 2002 00:09:05 -0400 (EDT) Original-Received: from scratchy (hs7-10.onemeg.uwo.ca [129.100.7.10]) by femail.its.uwo.ca (8.12.6/8.12.0) with ESMTP id g9248vNa011868; Wed, 2 Oct 2002 00:08:58 -0400 (EDT) Original-Received: from jdc by scratchy with local (Exim 3.35 #1 (Debian)) id 17waog-0000sS-00; Wed, 02 Oct 2002 00:08:54 -0400 Original-To: Nicolas Kowalski In-Reply-To: (Nicolas Kowalski's message of "Mon, 30 Sep 2002 13:05:26 +0200") Mail-Copies-To: nobody Original-Lines: 18 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46909 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46909 Nicolas Kowalski writes: > What hook is the best for this ? If I use : > > (add-hook 'gnus-summary-prepare-hook > (lambda ()(gnus-summary-limit-to-age 7 t))) > > ...it turns into infinite loop :-(. You should use gnus-summary-prepared-hook, which only runs the first time a summary buffer is produced. Also, this allows you to use '/ w' to pop this limit. Dan -- Dan Christensen jdc@uwo.ca