From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50747 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el is a bit aggressive loading/saving spam-stat data Date: Mon, 10 Mar 2003 09:05:33 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4nd6ll3bus.fsf@lockgroove.bwh.harvard.edu> <4nk7ft1hqj.fsf@lockgroove.bwh.harvard.edu> <874r6xtccq.fsf@emacswiki.org> <4nisv91h2t.fsf@chubby.bwh.harvard.edu> <4nel5u3frk.fsf@chubby.bwh.harvard.edu> <4nisuw5wsm.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047283554 13140 80.91.224.249 (10 Mar 2003 08:05:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2003 08:05:54 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Mon Mar 10 09:05:53 2003 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 18sIIC-0003Pg-00 for ; Mon, 10 Mar 2003 09:05:53 +0100 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 18sIIH-0007FV-00; Mon, 10 Mar 2003 02:05:57 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 10 Mar 2003 02:06:57 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA16186 for ; Mon, 10 Mar 2003 02:06:45 -0600 (CST) Original-Received: (qmail 6790 invoked by alias); 10 Mar 2003 08:05:39 -0000 Original-Received: (qmail 6785 invoked from network); 10 Mar 2003 08:05:39 -0000 Original-Received: from krynn.axis.se (193.13.178.10) by 66.230.238.6 with SMTP; 10 Mar 2003 08:05:39 -0000 Original-Received: from PCNIKLAS2 (dh10-13-8-222.axis.se [10.13.8.222]) by krynn.axis.se (8.12.8/8.12.8/Debian-1woody1) with ESMTP id h2A85Xc6005296 for ; Mon, 10 Mar 2003 09:05:33 +0100 Original-To: ding@gnus.org In-Reply-To: (Bill White's message of "Fri, 07 Mar 2003 09:13:23 -0600") Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (windows-nt) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50747 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50747 Bill White writes: > Reduce table size: (spam-stat-reduce-size) Ah. I had forgetten about this. Thanks for pointing it out. My file size went from 550572 to 109292 and the number of words from 36239 to 7426. > 1 - Perhaps the table size reduction could be automated in > a hook at some daily gnus event (I quit gnus each day when > I leave the office, so that would be a reasonable time for > me). I'll try this today: > > (add-hook 'gnus-exit-gnus-hook 'spam-stat-reduce-size 'spam-stat-save) Nice. I'll use gnus-demon-add-handler instead since I always keep gnus up and running. Niklas