From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3143 Path: news.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.user Subject: Re: fancy mail splitting regexp Date: Sat, 01 Nov 2003 01:23:39 +0100 Organization: http://purl.org/harder/ Message-ID: References: <87fzhb7h49.fsf@localhost.localdomain> <871xsuk7s8.fsf@localhost.localdomain> <87ad7ie966.fsf@localhost.localdomain> <874qxqurho.fsf@localhost.localdomain> <87fzh9e1t0.fsf@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669341 17784 80.91.229.2 (31 Jan 2006 01:02:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:02:21 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:46 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; Andreas Goesele writes: > Harald Maier writes: > >> To get a better answer it's maybe better if you send the the whole >> definition of the 'nnmail-split-fancy' variable. > > Trying to pin down the problem: > > (setq nnmail-split-fancy (quote (| > ("From" "TrustedAddress" "mail.misc") > (: my-match "^Subject: *$" "Empty") > "mail.misc"))) Please try this version of my-match instead: (defun my-match (regexp group) (goto-char (point-min)) (when (re-search-forward regexp nil t) group))