From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48469 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: ifile-gnus: Add hooks to Gnus on move/edit/delete? Date: Tue, 31 Dec 2002 15:00:30 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: References: <84fzsgk72x.fsf@lucy.cs.uni-dortmund.de> <847kdswkd6.fsf@lucy.cs.uni-dortmund.de> <84fzsfs5il.fsf@lucy.cs.uni-dortmund.de> <84bs329yrb.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041376986 4463 80.91.224.249 (31 Dec 2002 23:23:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2002 23:23:06 +0000 (UTC) Cc: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=), ding@hpc.uh.edu, jhbrown@ai.MIT.EDU 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 18TViw-00019g-00 for ; Wed, 01 Jan 2003 00:23: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 18TVhw-00057P-00; Tue, 31 Dec 2002 17:22:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 31 Dec 2002 17:22:54 -0600 (CST) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA18426 for ; Tue, 31 Dec 2002 17:22:46 -0600 (CST) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.2/8.11.1) id gBVNLmK19509 for ding@hpc.uh.edu; Tue, 31 Dec 2002 17:21:48 -0600 Original-Received: from ns1.beld.net (ns1.beld.net [208.229.215.81]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA18159 for ; Tue, 31 Dec 2002 14:01:00 -0600 (CST) Original-Received: from heechee.beld.net (dhcp-0-30-bd-1-93-b2.cpe.beld.net [24.233.65.6]) by ns1.beld.net (Postfix) with ESMTP id 49F673BBAA; Tue, 31 Dec 2002 15:00:01 -0500 (EST) Original-To: nathanw@MIT.EDU (Nathan J. Williams) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: nathanw@MIT.EDU (Nathan J. Williams), kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann), ?=@ns1.beld.net, ding@hpc.uh.edu, jhbrown@ai.MIT.EDU In-Reply-To: (nathanw@MIT.EDU's message of "31 Dec 2002 14:44:14 -0500") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48469 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48469 On 31 Dec 2002, nathanw@MIT.EDU wrote: > Ted Zlatanov writes: > >> > (I wonder if spam.el needs to tell ifile to use another index >> > file.) >> >> I don't think so, this should work right away. > > You might want to do this for efficency reasons; ifile gets slower > as the number of split categories increases. Having a 2-way split > (spam vs. non-spam) and then an N-way split for non-spam is quite a > bit faster than two N+1-way splits. I have no problem with the idea, but the optimized implementation should really be on the ifile-gnus.el side, in the function ifile-spam-filter. I don't think spam.el should reinvent ifile-spam-filter, considering that function was specifically written for spam detection. Ted