From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18504 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: How to add new split method? Date: 11 Nov 1998 13:50:52 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035157016 6474 80.91.224.250 (20 Oct 2002 23:36:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:36:56 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA29060 for ; Wed, 11 Nov 1998 09:31:46 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAB11223; Wed, 11 Nov 1998 08:31:37 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 11 Nov 1998 08:31:30 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id IAA07262 for ; Wed, 11 Nov 1998 08:31:19 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA29042 for ; Wed, 11 Nov 1998 09:31:09 -0500 (EST) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.cs.uni-dortmund.de [129.217.20.180]) by waldorf.cs.uni-dortmund.de with SMTP id NAA16924 for ; Wed, 11 Nov 1998 13:50:54 +0100 (MET) Original-Received: (grossjoh@localhost) by ramses.informatik.uni-dortmund.de id NAA22989; Wed, 11 Nov 1998 13:50:53 +0100 Original-To: ding@gnus.org Original-Lines: 19 User-Agent: Gnus/5.070042 (Pterodactyl Gnus v0.42) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18504 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18504 Suppose I had a function which could split some of the incoming messages but not all of them. Thus, the behavior I want is: If nnmail-kai-split-smartly returns a group, split the incoming message to that group, else process nnmail-split-methods normally. I'm also willing to use nnmail-split-fancy, of course, if that helps. The documentation for nnmail-split-fancy tells me that it is possible to call functions, but it is not clear whether the function is allowed to return a don't-know value whereupon the processing of nnmail-split-fancy continues. Maybe I can just make the function return NIL as a don't-know value? The documentation doesn't say, and I don't grok the source. kai -- Life is hard and then you die.