From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46911 Path: main.gmane.org!not-for-mail From: Nicolas Kowalski Newsgroups: gmane.emacs.gnus.general Subject: Re: Limit summary to participant Date: Wed, 02 Oct 2002 09:19:31 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87ofad4h49.fsf@uwo.ca> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033543241 28797 127.0.0.1 (2 Oct 2002 07:20:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 07:20:41 +0000 (UTC) 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 17wdoF-0007UD-00 for ; Wed, 02 Oct 2002 09:20:39 +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 17wdnU-0005Nz-00; Wed, 02 Oct 2002 02:19:52 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Oct 2002 02:20:32 -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 CAA29442 for ; Wed, 2 Oct 2002 02:20:19 -0500 (CDT) Original-Received: (qmail 4374 invoked by alias); 2 Oct 2002 07:19:34 -0000 Original-Received: (qmail 4369 invoked from network); 2 Oct 2002 07:19:34 -0000 Original-Received: from imag.imag.fr (129.88.30.1) by gnus.org with SMTP; 2 Oct 2002 07:19:34 -0000 Original-Received: from pave.imag.fr (pave.imag.fr [129.88.43.12]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g927JWi20695 for ; Wed, 2 Oct 2002 09:19:32 +0200 (MEST) Original-Received: from astazou ([129.88.43.102] helo=astazou.imag.fr.imag.fr ident=kowalski) by pave.imag.fr with esmtp (Exim 4.10) id 17wdnA-000BTX-00 for ding@gnus.org; Wed, 02 Oct 2002 09:19:32 +0200 Original-To: ding@gnus.org X-Face: #v^9{p"~.e3TDs~r\ (Dan Christensen's message of "Wed, 02 Oct 2002 00:08:54 -0400") Original-Lines: 21 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Common Lisp, i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46911 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46911 Dan Christensen writes: > 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. This works well :-). Thanks for the tip. -- Nicolas