From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79840 Path: news.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.gnus.general Subject: Re: using bbdb in split methods Date: Wed, 07 Sep 2011 09:08:39 +0100 Message-ID: <87vct46ago.fsf@ucl.ac.uk> References: <87hb4rsa22.fsf@ucl.ac.uk> <87bouzthy1.fsf@ericabrahamsen.net> <8762l6gl5j.fsf@ucl.ac.uk> <87sjo9cco9.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1315384819 31730 80.91.229.12 (7 Sep 2011 08:40:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2011 08:40:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28134@lists.math.uh.edu Wed Sep 07 10:40:16 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 1R1Dg7-0003nu-Ob for ding-account@gmane.org; Wed, 07 Sep 2011 10:40:15 +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 1R1Des-0001md-TU; Wed, 07 Sep 2011 03:38:59 -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 1R1Dep-0001mN-JY for ding@lists.math.uh.edu; Wed, 07 Sep 2011 03:38:55 -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 1R1Den-0006gR-1G for ding@lists.math.uh.edu; Wed, 07 Sep 2011 03:38:54 -0500 Original-Received: from vscani-b2.ucl.ac.uk ([144.82.108.135]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R1Dek-0002kI-ED for ding@gnus.org; Wed, 07 Sep 2011 10:38:50 +0200 Original-Received: from dip057.chemeng.ucl.ac.uk ([128.40.228.156] helo=localhost) by vscani-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1R1Dee-0002La-Ji for ding@gnus.org; Wed, 07 Sep 2011 09:38:44 +0100 In-Reply-To: <87sjo9cco9.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 07 Sep 2011 10:24:22 +0800") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Face: av6A"vZ{AypDB`d^.T35oG%$E*Qh]4F)K=*$-NHz5{7WZfAFQFB]F@gf}l9`XLs9(iD?D/! nafKE,S#G!4W/flj=9(U{]t'lP,,5~:s*~;kKR Mail-Followup-To: ding@gnus.org X-UCL-MailScanner-Information: Please contact the UCL Helpdesk, helpdesk@ucl.ac.uk for more information X-UCL-MailScanner: Found to be clean X-UCL-MailScanner-From: e.fraga@ucl.ac.uk X-Spam-Status: No X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79840 Archived-At: Eric Abrahamsen writes: > 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=E2=80=A6 >>> >>> 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 > > Yes, I've been aware of bbdb 3 for a long time and, partly, this is why I have resisted getting too much into the current bbdb... but that's probably just an excuse for procrastination! :-( Thanks again, eric --=20 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.= 18