Gnus development mailing list
 help / color / mirror / Atom feed
From: Tommy Kelly <tommy.kelly@verilab.com>
To: ding@gnus.org
Cc: info-gnus-english@gnu.org
Subject: Re: nnimap-split-methods syntax
Date: Tue, 07 Dec 2010 21:36:21 +0000	[thread overview]
Message-ID: <m2vd35nu3u.fsf@verilab.com> (raw)
In-Reply-To: <m2zkshfgun.fsf@igel.home>

[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




  reply	other threads:[~2010-12-07 21:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06 19:02 Tommy Kelly
2010-12-06 21:13 ` Tommy Kelly
2010-12-06 23:08   ` Andreas Schwab
2010-12-07 19:38     ` Tommy Kelly
2010-12-07 20:49       ` Andreas Schwab
2010-12-07 21:36         ` Tommy Kelly [this message]
2010-12-08 18:13           ` Alberto Luaces

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vd35nu3u.fsf@verilab.com \
    --to=tommy.kelly@verilab.com \
    --cc=ding@gnus.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).