From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79839 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: using bbdb in split methods Date: Wed, 07 Sep 2011 10:24:22 +0800 Message-ID: <87sjo9cco9.fsf@ericabrahamsen.net> References: <87hb4rsa22.fsf@ucl.ac.uk> <87bouzthy1.fsf@ericabrahamsen.net> <8762l6gl5j.fsf@ucl.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1315362325 31231 80.91.229.12 (7 Sep 2011 02:25:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2011 02:25:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28133@lists.math.uh.edu Wed Sep 07 04:25:20 2011 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 1R17pI-0005gS-6u for ding-account@gmane.org; Wed, 07 Sep 2011 04:25:20 +0200 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 1R17ok-00007I-6h; Tue, 06 Sep 2011 21:24:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1R17oi-000075-Jl for ding@lists.math.uh.edu; Tue, 06 Sep 2011 21:24:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R17og-0005Yk-Uj for ding@lists.math.uh.edu; Tue, 06 Sep 2011 21:24:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R17oe-00012Y-3O for ding@gnus.org; Wed, 07 Sep 2011 04:24:40 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R17od-0005UM-Pn for ding@gnus.org; Wed, 07 Sep 2011 04:24:39 +0200 Original-Received: from 114.250.123.61 ([114.250.123.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Sep 2011 04:24:39 +0200 Original-Received: from eric by 114.250.123.61 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Sep 2011 04:24:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.123.61 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:rnYSqRlQG1M1XY5Sg9XlfBNN7t4= X-Spam-Score: -4.2 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79839 Archived-At: On Tue, Sep 06 2011, Eric S Fraga wrote: > Eric Abrahamsen 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