From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46511 Path: main.gmane.org!not-for-mail From: Clemens Fischer Newsgroups: gmane.emacs.gnus.general Subject: Re: Add hooks to Gnus on move/edit/delete? Date: Thu, 12 Sep 2002 20:07:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <3csfaxpe.fsf@ID-23066.news.dfncis.de> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031866766 22219 127.0.0.1 (12 Sep 2002 21:39:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 21:39:26 +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 17pbgL-0005mE-00 for ; Thu, 12 Sep 2002 23:39:25 +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 17pbfU-0003D0-00; Thu, 12 Sep 2002 16:38:32 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 12 Sep 2002 16:39:10 -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 QAA14923 for ; Thu, 12 Sep 2002 16:38:57 -0500 (CDT) Original-Received: (qmail 847 invoked by alias); 12 Sep 2002 21:38:16 -0000 Original-Received: (qmail 842 invoked from network); 12 Sep 2002 21:38:15 -0000 Original-Received: from main.gmane.org (80.91.224.249) by gnus.org with SMTP; 12 Sep 2002 21:38:15 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17pbHC-0004TL-00 for ; Thu, 12 Sep 2002 23:13:26 +0200 Original-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17pbHB-0004TB-00 for ; Thu, 12 Sep 2002 23:13:25 +0200 Original-Path: ID-23066.news.dfncis.de!not-for-mail Original-Lines: 36 Original-NNTP-Posting-Host: p3e9baabf.dip.t-dialin.net Original-X-Trace: main.gmane.org 1031865205 16899 62.155.170.191 (12 Sep 2002 21:13:25 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Thu, 12 Sep 2002 21:13:25 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:IzWxEyd6LeMzJaqWp2COqUfBglg= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46511 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46511 jhbrown@ai.mit.edu (Jeremy H. Brown) writes: > Interesting question. Perhaps a gnus-split-decision-hook whose > functions were called with the final split decision? whatever you do: recording the number of "correct" versus "incorrect" i-filings is neccessary to later calculate the overall precision. if the user does _not_ want this, he should have to specifically disable this feature. i keep two simple numbers for this in a simple text file, which might well not be what everybody wants. also, i'd prefer another name than *split-decision*, because this (particle here) has a meaning in english that could mislead starters. > One other technical issue to try to resolve gracefully: gnus rudely > mutates the article text *after* the split decision by inserting the > Xref header; this means that ifile actually gets trained on a slightly > different text than is stored or used when you refile, say. What's > the Right Way to deal with this so that ifile always sees the same > message? I don't want to chuck headers in general, since there're > often useful bits in there. i really hope, and jason rennie (author of ifile) seems to agree, that some later version of ifile will have new semantics for the following options: (i) `-h headers' and `-H headers', where `headers' will be a comma separated list of headers to strip (-h) and to keep (-H). we should also keep in mind that either limited support for (the type of) MIME-detection might get built into ifile (like you proposed yourself), or it might even get outfitted with an interface to metamail. this might deviate from pipes when mm is used as a preprocessor in general or for certain content-types only (configurable!). -- clemens