From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50396 Path: main.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el is a bit aggressive loading/saving spam-stat data Date: Tue, 25 Feb 2003 21:23:57 -0500 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046226305 4720 80.91.224.249 (26 Feb 2003 02:25:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2003 02:25:05 +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 18nrFm-0001Dr-00 for ; Wed, 26 Feb 2003 03:25:02 +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 18nrF3-0005u1-00; Tue, 25 Feb 2003 20:24:17 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Feb 2003 20:25:15 -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 UAA11292 for ; Tue, 25 Feb 2003 20:25:03 -0600 (CST) Original-Received: (qmail 98353 invoked by alias); 26 Feb 2003 02:24:00 -0000 Original-Received: (qmail 98348 invoked from network); 26 Feb 2003 02:24:00 -0000 Original-Received: from fort-point-station.mit.edu (18.7.7.76) by 66.230.238.6 with SMTP; 26 Feb 2003 02:24:00 -0000 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id VAA23334 for ; Tue, 25 Feb 2003 21:23:59 -0500 (EST) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id VAA13337; Tue, 25 Feb 2003 21:23:59 -0500 (EST) Original-Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id VAA11673; Tue, 25 Feb 2003 21:23:58 -0500 (EST) Original-To: ding@gnus.org In-Reply-To: <4nisv91h2t.fsf@chubby.bwh.harvard.edu> (Ted Zlatanov's message of "Mon, 24 Feb 2003 16:53:14 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.4 (Artificial Intelligence) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50396 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50396 Ted Zlatanov writes: > For now, I moved spam-stat-save out of the classification functions in > spam.el, and added spam-stat-save to the gnus-save-newsrc-hook. The > add-hook is done iff spam-use-stat is set. Could you also make the parallel change with spam-stat-load? It could be added to perhaps gnus-get-new-news-hook, and then removed from spam-split. (A little tricky; you want to make sure it's loaded when Gnus is first started, but don't want to lose updated data when you rescan groups.) -- David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell