Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: using bbdb in split methods
Date: Wed, 07 Sep 2011 10:24:22 +0800	[thread overview]
Message-ID: <87sjo9cco9.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <8762l6gl5j.fsf@ucl.ac.uk>

On Tue, Sep 06 2011, Eric S Fraga wrote:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
> [...]
>
>> Unless I'm misunderstanding you, this is already built into BBDB. Give
>> any BBDB record a "gnus-private" field with a gnus group name (ie
>> "mail.myfriend"). Then set the following two variables:
>>
>> (setq nnmail-split-methods 'bbdb/gnus-split-method
>>       bbdb/gnus-split-nomatch-function 'nnmail-split-fancy)
>>
>> Splits will happen for BBDB records first, and then fall through to
>> nnmail-split-fancy. That ought to do it…
>>
>> E
>>
>>
>
> Eric,
>
> just to confirm that this works perfectly.  I now have the best of both
> worlds.  Many thanks for pointing this out.  There's much to learn in
> bbdb (and gnus)!

There certainly is! If you're considering digging in, be aware that BBDB
3, which contains significant improvements over the last version, is
trundling towards readiness. It introduces some fairly large changes and
is currently lacking much documentation -- if you're interested in going
deeper you might consider waiting for that, or digging into its code.

E




  reply	other threads:[~2011-09-07  2:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05  7:49 Eric S Fraga
2011-09-05 10:13 ` Eric Abrahamsen
2011-09-05 13:02   ` Eric S Fraga
2011-09-06  7:55   ` Eric S Fraga
2011-09-07  2:24     ` Eric Abrahamsen [this message]
2011-09-07  8:08       ` Eric S Fraga
2011-09-07 11:00         ` Rasmus
2011-09-07 15:03     ` David Engster
2011-09-27 21:39 ` Ted Zlatanov
2011-09-28 15:10   ` Eric S Fraga

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=87sjo9cco9.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).