From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50775 Path: main.gmane.org!not-for-mail From: Bill White Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el is a bit aggressive loading/saving spam-stat data Date: Tue, 11 Mar 2003 06:53:23 -0600 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 1047387269 11127 80.91.224.249 (11 Mar 2003 12:54:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 12:54:29 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Tue Mar 11 13:54:28 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 18sjGR-0002qX-00 for ; Tue, 11 Mar 2003 13:53:51 +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 18sjGK-0007dI-00; Tue, 11 Mar 2003 06:53:44 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 11 Mar 2003 06:54:44 -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 GAA20256 for ; Tue, 11 Mar 2003 06:54:31 -0600 (CST) Original-Received: (qmail 86429 invoked by alias); 11 Mar 2003 12:53:26 -0000 Original-Received: (qmail 86424 invoked from network); 11 Mar 2003 12:53:26 -0000 Original-Received: from wri-dns0.wolfram.com (HELO wolfram.com) (140.177.205.10) by 66.230.238.6 with SMTP; 11 Mar 2003 12:53:26 -0000 Original-Received: from billwlx.wolfram.com.wolfram.com (dmz5.wolfram.com [140.177.205.1]) by wolfram.com (8.11.2/8.11.2) with ESMTP id h2BCrNp10336 for ; Tue, 11 Mar 2003 06:53:24 -0600 Original-To: ding@gnus.org X-Phone: 217-398-0700 x 234 X-Fax: 217-398-0747 In-Reply-To: (Niklas Morberg's message of "Mon, 10 Mar 2003 09:05:33 +0100") X-Liturgical-Date: Weekday: Tuesday of the First Week of Lent X-Face: $f^q=3W-VRc;w9na5Y.c-Jvu)M";y1O184tHjf@PP26MzCi.}7S^GP;QlJ$A3.PH|-`aQZ! d,*2d|f2z"9y%}r'$nhAO(9h`dv>,Mp\H6jf8AbuG>EZ,{u:cksL#NwCBoF<\;{QO+p32'(1*r"f-l baaB}uoEkv(o864LM@sH User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50775 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50775 On Monday of the First Week of Lent, A. D. 2003, at 02:05, Niklas Morberg said: > 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. Oops - of course that should be (add-hook 'gnus-exit-gnus-hook 'spam-stat-reduce-size) (add-hook 'gnus-exit-gnus-hook 'spam-stat-save) Cheers - bw -- Bill White . billw@wolfram.com . http://members.wri.com/billw "No ma'am, we're musicians."