From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50640 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: Fri, 07 Mar 2003 08:27:04 -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 1047047253 24646 80.91.224.249 (7 Mar 2003 14:27:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2003 14:27:33 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Fri Mar 07 15:27:30 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 18rIos-0006P8-00 for ; Fri, 07 Mar 2003 15:27:30 +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 18rIop-0003o1-00; Fri, 07 Mar 2003 08:27:27 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Mar 2003 08:28:26 -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 IAA09113 for ; Fri, 7 Mar 2003 08:28:13 -0600 (CST) Original-Received: (qmail 30937 invoked by alias); 7 Mar 2003 14:27:10 -0000 Original-Received: (qmail 30932 invoked from network); 7 Mar 2003 14:27:09 -0000 Original-Received: from wri-dns0.wolfram.com (HELO wolfram.com) (140.177.205.10) by 66.230.238.6 with SMTP; 7 Mar 2003 14:27:09 -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 h27ER4Y25694 for ; Fri, 7 Mar 2003 08:27:07 -0600 Original-To: ding@gnus.org X-Phone: 217-398-0700 x 234 X-Fax: 217-398-0747 In-Reply-To: <4nisuw5wsm.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 06 Mar 2003 10:39:37 -0500") X-Liturgical-Date: Commemoration: Saints Perpetua and Felicity, martyrs 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:50640 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50640 On Thu Mar 06 2003 at 09:39, Ted Zlatanov said: > On Thu, 06 Mar 2003, niklas.morberg@axis.com wrote: >> I just noticed that the spam-stat data is loaded when moving >> messages, which seems a bit unnecessary. The reason is that >> gnus-summary-move-article makes a call to >> gnus-group-get-new-news-this-group which in turn loads the >> spam-stat file. >> >> Would it be possible to get rid of this as well? > > I added a gnus-get-top-new-news-hook which is NOT invoked by > gnus-group-get-new-news-this-group to get around this, only by > gnus-get-new-news. I also moved the spam.el stat loading hook to > the gnus-get-top-new-news-hook. If anyone has a problem with that > new hook, let me know (but seriously, can Gnus ever have enough > hooks? :) It takes roughly 20-30 seconds to load my spam-stat file. Is this a reasonable duration, or am I doing something wrong? It's far too long to wait at each new mail retrieval. Would it be reasonable to load the spam-stat file only when gnus first starts, then save it only when quitting gnus or at some other rare event during which I'm not waiting eagerly for something? Cheers - bw -- Bill White . billw@wolfram.com . http://members.wri.com/billw "No ma'am, we're musicians."