From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47197 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: ifile-gnus.el version 0.3.5 (spam-filtering / general email classification) Date: Tue, 15 Oct 2002 12:22:04 -0400 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: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1034698784 31789 80.91.224.249 (15 Oct 2002 16:19:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 16:19:44 +0000 (UTC) Cc: ding 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 181UQ1-0008GD-00 for ; Tue, 15 Oct 2002 18:19:41 +0200 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 181UP7-0006bl-00; Tue, 15 Oct 2002 11:18:45 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Oct 2002 11:19:29 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA02601 for ; Tue, 15 Oct 2002 11:19:13 -0500 (CDT) Original-Received: (qmail 23371 invoked by alias); 15 Oct 2002 16:18:25 -0000 Original-Received: (qmail 23366 invoked from network); 15 Oct 2002 16:18:25 -0000 Original-Received: from ns1.beld.net (208.229.215.81) by gnus.org with SMTP; 15 Oct 2002 16:18:25 -0000 Original-Received: from heechee.beld.net (dhcp-0-50-8b-df-51-5e.cpe.beld.net [65.202.179.67]) by ns1.beld.net (Postfix) with ESMTP id 668D13B844; Tue, 15 Oct 2002 12:18:23 -0400 (EDT) Original-To: jhbrown@ai.mit.edu (Jeremy H. Brown) 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: jhbrown@ai.mit.edu (Jeremy H. Brown), ding In-Reply-To: (jhbrown@ai.mit.edu's message of "13 Oct 2002 13:45:02 -0400") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47197 On 13 Oct 2002, jhbrown@ai.mit.edu wrote: > Ted Zlatanov writes: >> Some ideas: it would be nice if ifile-gnus.el could support nnimap, >=20 > Yeah, I know. I don't use nnimap myself (yet), so it hasn't been > high priority. I need to sit down and grok how messages are managed > under nnimap --- I'll have to make ifile-gnus pull down at least the > ascii and html parts for filtering. People may not like the > performance impact, at least when they're reading mail via imap over > slow links. I don't think the performance impact will be huge, especially considering the benefits of ifile. I think spam.el already pulls down the article for bogofilter processing, for instance. > Ah, this is where I'm bitten by working with stable gnus -- I > haven't played with spam marks at all. I'll look into doing this > too, but it's lower priority than nnimap for the moment. I'll look > at how spam.el handles it. Sure. Basically there's the explicit spam-mark, and there's a list of marks considered spam marks (usually just the spam-mark). Conversely, there's a list of "ham" marks (Fran=E7ois Pinard came up with the term) which are explicitly considered not to be spam. > I think it probably makes more sense in the long run to have > ifile-gnus do its own hooking, but since I'm not likely to get there > real soon, feel free to add it to spam.el for now. Well, if it's just a function that looks at spam articles, like spam-bogofilter-register-routine, we can pretty much copy the code from that function and the corresponding spam-bogofilter-articles that processes each article with bogofilter, but use "ifile -i spam" on each spam article. Does that sound OK? Would you rather have the register and processing functions in ifile-gnus.el and have me autoload them, since you'll need them eventually anyhow if you want to do your own hooking? Thanks Ted