Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: Features that make you love Gnus?
Date: Wed, 26 Sep 2012 14:26:11 +0800	[thread overview]
Message-ID: <87wqzh9u64.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <878vbz8uy4.fsf@topper.koldfront.dk>

On Mon, Sep 24 2012, Adam Sjøgren wrote:

> On Mon, 24 Sep 2012 15:26:59 +0800, Eric wrote:
>
>> I'd like a way to set up an arbitrary handling mechanism for incoming
>> mail. So I set some regexps on headers, and incoming mail that matches
>> gets fed to a function I wrote.
>
> Can't you do that with fancy splitting? I'd think that is roughly what
> happens when I have a split that is:
>  
>           ; Get rid of spam:
>           (: spam-split)
>
> or:
>
>           (: (lambda ()
>                (car (bbdb/gnus-split-method))))
>
> or:
>
>           ; Resend to mobile:
>           ;   Must not match, otherwise the splitting ends here maybe it
>           ;   would be nicer to (& (resend-to-mobile-split) (| (the rest))) ?
>           (: resend-to-mobile-split "my-mobile@example.com")
>
>> Now is when someone tells me that gnus has had this feature since 1997.
>
> I'm not quite sure when fancy splitting was introduced.

No kidding, that does work. Thanks! It seemed odd at first, like a
misuse of splitting, but I guess you can see it as an extension of the
split…

Thanks again,
E

-- 
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4)
 of 2012-09-16 on pellet
Ma Gnus v0.6




      reply	other threads:[~2012-09-26  6:26 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 13:48 Kyle Sexton
2012-09-20 22:48 ` Oleksandr Gavenko
2012-09-21  6:35   ` Tassilo Horn
2012-09-23 21:34     ` Oleksandr Gavenko
2012-09-24  6:47       ` Tassilo Horn
2012-09-21  1:11 ` Mark Simpson
2012-09-23 21:38   ` Oleksandr Gavenko
2012-09-23 23:59     ` Mark Simpson
2012-09-21  6:50 ` Tassilo Horn
2012-09-21 13:16   ` Erik Colson
2012-09-21 18:23   ` Sivaram Neelakantan
2012-09-21 18:56     ` Tassilo Horn
2012-09-23 21:42   ` Oleksandr Gavenko
2012-09-24  6:52     ` Tassilo Horn
2012-09-24  8:22       ` Andreas Schwab
2012-09-21 13:23 ` Julien Danjou
2012-09-22 17:39 ` Adam Sjøgren
2012-09-25 13:20   ` Malcolm Purvis
2012-09-24  7:26 ` Eric Abrahamsen
2012-09-24 12:30   ` Adam Sjøgren
2012-09-26  6:26     ` Eric Abrahamsen [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=87wqzh9u64.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.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).