From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12689 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Adding new nnmail-split-fancy construct Date: 25 Oct 1997 00:36:01 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152181 5152 80.91.224.250 (20 Oct 2002 22:16:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:21 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id TAA12818 for ; Fri, 24 Oct 1997 19:52:38 -0700 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA20710 for ; Fri, 24 Oct 1997 21:54:13 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id DAA04955 for ; Sat, 25 Oct 1997 03:50:50 +0200 (MET DST) Original-Received: (qmail 17002 invoked by uid 504); 25 Oct 1997 01:50:49 -0000 Original-Received: (qmail 16995 invoked from network); 25 Oct 1997 01:50:47 -0000 Original-Received: from xyplex23.uio.no (HELO sparky.gnus.org) (129.240.154.43) by claymore.vcinet.com with SMTP; 25 Oct 1997 01:50:45 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id DAA02090; Sat, 25 Oct 1997 03:43:08 +0200 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: Tonny Madsen's message of "22 Oct 1997 10:35:32 +0200" X-Mailer: Quassia Gnus v0.13/XEmacs 19.15 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > I occasionally need to split messages, by searching them directly for > a regular expression. In most cases, though, it is simply to single > out all messages, where the the subject line starting with a specific > word. > > This cannot be done with the current nnmail-split-fancy variable and > function. To deal with this I have added a catch-all split expression, > (/ REGEXP SPLIT), that will use SPLIT if REGEXP matches the message. I think you should use the `:' thing instead -- it allows you to specify an arbitrary function to be run. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen