From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46473 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: Add hooks to Gnus on move/edit/delete? Date: Tue, 10 Sep 2002 18:17:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031674794 28346 127.0.0.1 (10 Sep 2002 16:19:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 16:19:54 +0000 (UTC) Cc: "Jeremy H. Brown" 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 17onk0-0007Mt-00 for ; Tue, 10 Sep 2002 18:19:52 +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 17oniR-0000fn-00; Tue, 10 Sep 2002 11:18:15 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Sep 2002 11:18:51 -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 LAA10158 for ; Tue, 10 Sep 2002 11:18:40 -0500 (CDT) Original-Received: (qmail 17077 invoked by alias); 10 Sep 2002 16:17:59 -0000 Original-Received: (qmail 17072 invoked from network); 10 Sep 2002 16:17:59 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 10 Sep 2002 16:17:59 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g8AGHV811677; Tue, 10 Sep 2002 18:17:31 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id SAA10070; Tue, 10 Sep 2002 18:17:26 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 794AF3AFDE; Tue, 10 Sep 2002 18:17:25 +0200 (CEST) Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org, "Jeremy H. Brown" Original-Lines: 22 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:46473 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46473 I've just started using ifile together with Jeremy's wonderful ifile-gnus.el. It really rocks. But of course it doesn't make much sense to advise the nnml functions, instead we would like to provide hooks that can be called when articles are moved. So what do people think about adding said hooks? I'd do a gnus-request-move-article-hook, gnus-request-accept-article-hook, and gnus-request-replace-article-hook. Or should these be *-functions, and some args should be passed to the functions? What args? I don't quite understand the meaning/purpose of the nnmail-article-group advice, though. The new variables could also be used for maintaining the .nnmail-cache file, I think. I wonder whether it's a good idea to use them for this purpose. kai -- A large number of young women don't trust men with beards. (BFBS Radio)