From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16511 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.user Subject: Is there some handy way to expire buy count of msgs Date: Fri, 20 Sep 2013 12:14:33 -0400 Organization: Still searching... Message-ID: <877geb5v2u.fsf@newsguy.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379693707 3945 80.91.229.3 (20 Sep 2013 16:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2013 16:15:07 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Sep 20 18:15:09 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VN3ML-0008O5-1q for gegu-info-gnus-english@m.gmane.org; Fri, 20 Sep 2013 18:15:09 +0200 Original-Received: from localhost ([::1]:56733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN3MK-0005TH-Gs for gegu-info-gnus-english@m.gmane.org; Fri, 20 Sep 2013 12:15:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN3MB-0005O4-KV for info-gnus-english@gnu.org; Fri, 20 Sep 2013 12:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN3M3-0003Gd-7D for info-gnus-english@gnu.org; Fri, 20 Sep 2013 12:14:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN3M3-0003GP-1I for info-gnus-english@gnu.org; Fri, 20 Sep 2013 12:14:51 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VN3M1-0007lW-Ox for info-gnus-english@gnu.org; Fri, 20 Sep 2013 18:14:49 +0200 Original-Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 18:14:49 +0200 Original-Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 18:14:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:IPzYAz41JSdG0sdKK2kyJ9wKMTU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16511 Archived-At: I'd like to be able to total-expire a specific group when it gets to 50,000 messages. The common way I've been using is by number of days like this: (setq gnus-parameters '(("_ex$" (total-expire . t) (expiry-wait . 18)) ("_tr$" (total-expire . t) (expiry-wait . 90) (gnus-visible-headers (concat gnus-visible-headers "\\|^X-Spam-Report:.*_FARAWAY_")) ("_$" (total-expire . t) (expiry-wait . 340))))) My best guess to end up around 50,000 msgs was the last one there to hold msgs for 340 days. It was not a good guess, and I'd rather have some way to do it by number of messages rather than amount of time held. But still, expire the oldest ones first.