From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46839 Path: main.gmane.org!not-for-mail From: Nicolas Kowalski Newsgroups: gmane.emacs.gnus.general Subject: Re: Limit summary to participant Date: Mon, 30 Sep 2002 13:05:26 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1033383993 22009 127.0.0.1 (30 Sep 2002 11:06:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2002 11:06:33 +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 17vyNj-0005hy-00 for ; Mon, 30 Sep 2002 13:06:31 +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 17vyMz-00078b-00; Mon, 30 Sep 2002 06:05:45 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 30 Sep 2002 06:06:26 -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 GAA24746 for ; Mon, 30 Sep 2002 06:06:14 -0500 (CDT) Original-Received: (qmail 15885 invoked by alias); 30 Sep 2002 11:05:28 -0000 Original-Received: (qmail 15880 invoked from network); 30 Sep 2002 11:05:28 -0000 Original-Received: from imag.imag.fr (129.88.30.1) by gnus.org with SMTP; 30 Sep 2002 11:05:28 -0000 Original-Received: from ormelune.imag.fr (ormelune.imag.fr [129.88.43.35]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g8UB5Rg27684 for ; Mon, 30 Sep 2002 13:05:27 +0200 (MEST) Original-Received: from astazou.imag.fr.imag.fr (astazou [129.88.43.102]) by ormelune.imag.fr (8.10.2+Sun/jtpda-5.3.3) with ESMTP id g8UB5Qb29254 for ; Mon, 30 Sep 2002 13:05:26 +0200 (MET DST) Original-To: ding@gnus.org X-Face: #v^9{p"~.e3TDs~r\ Nicolas Kowalski writes: > >> Using Oort 0.07, is there a way to limit summary buffers to a >> particular To, CC field or any Participant field (like in Pine), as >> does `gnus-summary-limit-to-author' ? > > You can add To and Cc to nnmail-extra-headers and > gnus-extra-headers. Then you can do `/ x' to limit on the To and on > the Cc header. > > This is not what you want, I think, but it's the closest that Gnus > supports, I think. > > (setq nnmail-extra-headers '(To Cc Newsgroups)) > (setq gnus-extra-headers nnmail-extra-headers) This seems to do most of the job needed. I can handle things with this. Thanks. >> BTW, can the `display' group parameter be used to limit articles >> display by age (say, make one group only display messages younger >> than one week) ? > > Not that I know of. You can execute `/ t' when you enter the group, > and probably you can add this to a hook, too. 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 :-(. Thanks. -- Nicolas