From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9194 Path: main.gmane.org!not-for-mail From: David Moore Newsgroups: gmane.emacs.gnus.general Subject: Re: time delay on news groups? Date: 12 Dec 1996 14:00:22 -0800 Sender: dmoore@sdnp5.ucsd.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149256 17017 80.91.224.250 (20 Oct 2002 21:27:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:27:36 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id OAA03130 for ; Thu, 12 Dec 1996 14:12:32 -0800 Original-Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 12 Dec 1996 23:02:16 +0100 Original-Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id OAA23642 for ; Thu, 12 Dec 1996 14:02:12 -0800 (PST) Original-Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4) id OAA15763; Thu, 12 Dec 1996 14:00:32 -0800 Original-To: "(ding) Gnus Mailing List" In-Reply-To: Mark Eichin's message of 12 Dec 1996 15:53:53 -0500 Original-Lines: 41 X-Mailer: Red Gnus v0.74/XEmacs 19.15 Xref: main.gmane.org gmane.emacs.gnus.general:9194 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9194 Mark Eichin writes: > Has anyone come up with a way to configure gnus to not show news until > iit has been visible for some amount of time? I'm thinking in terms > of making the spam-warfare out there more useful... if I delay reading > a message in an alt group until it's been there for 12 or maybe 36 > hours, there's a fair chance that someone will have "retroactively > moderated" it if necessary. Good idea, it can help with NoCeM propagation problems. I'm not sure what you'd want to do in the group buffer, but in the subject buffer, you could limit the summary to articles older than X days: (defun gnus-summary-limit-to-age (age &optional younger-p) "If YOUNGER-P is nil, limit the summary buffer to articles that are older than (or equal) AGE days. Otherwise, limit the summary buffer to articles that are younger than AGE days." (interactive "nTime in days: ") (prog1 (let ((data gnus-newsgroup-data) (cutoff (nnmail-days-to-time age)) articles d date is-younger) (while (setq d (pop data)) (when (and (vectorp (gnus-data-header d)) (setq date (mail-header-date (gnus-data-header d)))) (setq is-younger (nnmail-time-less (nnmail-time-since (nnmail-date-to-time date)) cutoff)) (when (if younger-p is-younger (not is-younger)) (push (gnus-data-number d) articles)))) (gnus-summary-limit (nreverse articles))) (gnus-summary-position-point))) You could bind to something like '/ t' in the summary buffer. Or it might work in your gnus-summary-prepare-hook, but I haven't tested that. -- David Moore | Computer Systems Lab __o UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_ La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_) | Solo Furnace Creek 508 -- 1996!