From: Alberto Luaces <aluaces@udc.es>
To: ding@gnus.org
Cc: info-gnus-english@gnu.org
Subject: Re: nnimap-split-methods syntax
Date: Wed, 08 Dec 2010 19:13:28 +0100 [thread overview]
Message-ID: <877hfkceuv.fsf@eps142.cdf.udc.es> (raw)
In-Reply-To: <m2vd35nu3u.fsf@verilab.com>
Tommy Kelly writes:
> [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).
You can find useful the regexp-builder mode when applied to some of your
mails, in order to see if your regex is correct. `C-u g', that is
`gnus-summary-show-article' called with an argument, can show you also
the raw mail for you to test.
--
Alberto
prev parent reply other threads:[~2010-12-08 18:13 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
2010-12-08 18:13 ` Alberto Luaces [this message]
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=877hfkceuv.fsf@eps142.cdf.udc.es \
--to=aluaces@udc.es \
--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).