From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46478 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Add hooks to Gnus on move/edit/delete? Date: Tue, 10 Sep 2002 22:04:14 +0200 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 1031688438 13729 127.0.0.1 (10 Sep 2002 20:07:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 20:07:18 +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 17orI4-0003ZH-00 for ; Tue, 10 Sep 2002 22:07:16 +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 17orFx-0002bm-00; Tue, 10 Sep 2002 15:05:05 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Sep 2002 15:05:41 -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 PAA10711 for ; Tue, 10 Sep 2002 15:05:29 -0500 (CDT) Original-Received: (qmail 22632 invoked by alias); 10 Sep 2002 20:04:48 -0000 Original-Received: (qmail 22627 invoked from network); 10 Sep 2002 20:04:48 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 10 Sep 2002 20:04:48 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g8AK4K817707; Tue, 10 Sep 2002 22:04:20 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id WAA12959; Tue, 10 Sep 2002 22:04:15 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id BA8723AFDE; Tue, 10 Sep 2002 22:04:14 +0200 (CEST) Original-To: jhbrown@ai.mit.edu (Jeremy H. Brown) Mail-Followup-To: jhbrown@ai.mit.edu (Jeremy H. Brown), ding@gnus.org In-Reply-To: (jhbrown@ai.mit.edu's message of "10 Sep 2002 14:17:21 -0400") Original-Lines: 39 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46478 jhbrown@ai.mit.edu (Jeremy H. Brown) writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > >> I don't quite understand the meaning/purpose of the >> nnmail-article-group advice, though. > > ifile-gnus is set up to do two things: > - provide a recommendation to you to use during splits > - record your actual decision, whether or not it was what ifile > recommended > > The nnmail-article-group advice works on both problems. > > First, it sticks the article buffer in the variable > "ifile-article-buffer"; the ifile functions that you use in the split > rely on this variable to hide the fact that, as discussed here > recently, the actual name of the buffer varies depending on how the > nnmail-article-group is entered (initial split or respooling or > whatever). Ah, so when Gnus is changed to record the buffer name in a variable, then part of the need goes away. > Second, after the split has been performed, the advice runs ifile > record the actual split decision made. And what to do about the other half? What would be the right way to remove the need for that half? Are you willing to work on the proper integration of ifile into Gnus, and would you sign the necessary papers for inclusion in Gnus? kai PS: It might be good to use message instead of print to provide debugging messages. --=20 A large number of young women don't trust men with beards. (BFBS Radio)