From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14123 Path: news.gmane.org!not-for-mail From: Tommy Kelly Newsgroups: gmane.emacs.gnus.general,gmane.emacs.gnus.user Subject: Re: nnimap-split-methods syntax Date: Tue, 07 Dec 2010 21:36:21 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291757845 18736 80.91.229.12 (7 Dec 2010 21:37:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 21:37:25 +0000 (UTC) Cc: info-gnus-english@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M23200@lists.math.uh.edu Tue Dec 07 22:37:20 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQ5Ds-0005ji-Cs for ding-account@gmane.org; Tue, 07 Dec 2010 22:37:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PQ5DF-0005wF-NS; Tue, 07 Dec 2010 15:36:41 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PQ5DC-0005w4-GA for ding@lists.math.uh.edu; Tue, 07 Dec 2010 15:36:38 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PQ5DB-00042G-3Q for ding@lists.math.uh.edu; Tue, 07 Dec 2010 15:36:38 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PQ5DA-0008UA-00 for ; Tue, 07 Dec 2010 22:36:36 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQ5DA-0005QT-A1 for ding@gnus.org; Tue, 07 Dec 2010 22:36:36 +0100 Original-Received: from cpc2-john3-0-0-cust730.14-1.cable.virginmedia.com ([86.7.2.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 22:36:36 +0100 Original-Received: from tommy.kelly by cpc2-john3-0-0-cust730.14-1.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 22:36:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.gnus.user Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc2-john3-0-0-cust730.14-1.cable.virginmedia.com User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin) Cancel-Lock: sha1:l1r+Uc8KQ8hC9Gx3duWXP99XF2M= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74844 gmane.emacs.gnus.user:14123 Archived-At: [Moving to .gnus.user -- didn't realize I may be bugging people on the development list] I'm looking for some help in creating nnimap-split-methods that match on more than one line. For example, I'd like to split out messages that are >From certain people AND To me. I know I may need to try fancy splitting, but I'm now trying to understand why certain regex's don't do what I expect. For example, I tried a split something of the (imperfect) form: ("to-me-from-certain-people" "^From:.*certainpeople.com\\(.\\|\n\\)*To:.*tommy.kelly@verilab.com") But it doesn't work. Even more confusingly, it does work for someone else (on the developer list). Can anyone suggest what the problem is? What's the best way to debug this kind of thing? (I'm using nnimap, so I'm not sure nnmail-split-history is useful -- I can't find an nnimap-split-history). thanks, Tommy