From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46480 Path: main.gmane.org!not-for-mail From: jhbrown@ai.mit.edu (Jeremy H. Brown) Newsgroups: gmane.emacs.gnus.general Subject: Re: Add hooks to Gnus on move/edit/delete? Date: 10 Sep 2002 17:03:01 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1031691836 25012 127.0.0.1 (10 Sep 2002 21:03:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 21:03:56 +0000 (UTC) Cc: ding@gnus.org 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 17osAr-0006V1-00 for ; Tue, 10 Sep 2002 23:03:53 +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 17osAL-0003C6-00; Tue, 10 Sep 2002 16:03:22 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Sep 2002 16:03:57 -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 QAA10874 for ; Tue, 10 Sep 2002 16:03:45 -0500 (CDT) Original-Received: (qmail 25109 invoked by alias); 10 Sep 2002 21:03:05 -0000 Original-Received: (qmail 25104 invoked from network); 10 Sep 2002 21:03:05 -0000 Original-Received: from life.ai.mit.edu (128.52.32.80) by gnus.org with SMTP; 10 Sep 2002 21:03:05 -0000 Original-Received: from suspiria.ai.mit.edu (suspiria [128.52.39.94]) by life.ai.mit.edu (8.12.2/8.12.2/BASENAME(ai.master.life-8.12.2.mc,.mc):RCS_REVISION(evision: 1.23 ) with ESMTP id g8AL31bM028726; Tue, 10 Sep 2002 17:03:01 -0400 (EDT) Original-Received: by suspiria.ai.mit.edu (8.8.8/1.1.19.2/08Jul98-0847PM) id RAA0000024738; Tue, 10 Sep 2002 17:03:01 -0400 (EDT) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) In-Reply-To: Original-Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46480 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46480 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > Ah, so when Gnus is changed to record the buffer name in a variable, > then part of the need goes away. Yep. > > Second, after the split has been performed, the advice runs ifile > > record the actual split decision made. >=20 > And what to do about the other half? What would be the right way to > remove the need for that half? Interesting question. Perhaps a gnus-split-decision-hook whose functions were called with the final split decision? 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. > Are you willing to work on the proper integration of ifile into Gnus, > and would you sign the necessary papers for inclusion in Gnus? I think so. Questions: - What, exactly, is the paperwork? (URL?) - Should this really be a distinct module from the spam*.el stuff, or should we merge the functionality in some fashion? I haven't really looked at how that stuff works in general, or with the recent bogofilter stuff in particular. Caveats: - I want to finish working through my TODO list for the stable version before I start trying to aim hard for oort. But I'm happy to chat about what hooks are needed. - I'm not presently an oort user, so I'll need to get up to speed there. - Unless someone decides to pay me, this won't necessarily happen at real high speed... > PS: It might be good to use message instead of print to provide > debugging messages. That's now at the top of the TODO list. Thanks, Jeremy