From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40704 Path: main.gmane.org!not-for-mail From: Kirk Strauser Newsgroups: gmane.emacs.gnus.general Subject: Re: Tricky (to me) mail splitting Date: 04 Dec 2001 13:19:16 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <87zo4ypzd7.fsf@pooh.int> References: <871yib0xem.fsf@pooh.int> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035176214 2336 80.91.224.250 (21 Oct 2002 04:56:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:56:54 +0000 (UTC) Return-Path: Original-Received: (qmail 14923 invoked from network); 4 Dec 2001 19:20:09 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 4 Dec 2001 19:20:09 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16BL6L-0008Dm-00; Tue, 04 Dec 2001 13:19:33 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 04 Dec 2001 13:19:19 -0600 (CST) Original-Received: from c1717606-a.sprgfld1.mo.home.com (c1717606-a.sprgfld1.mo.home.com [65.6.246.57]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA00144 for ; Tue, 4 Dec 2001 13:19:09 -0600 (CST) Original-Received: from pooh.int (mail@pooh.int [10.0.1.2]) by c1717606-a.sprgfld1.mo.home.com (8.11.6/8.11.5) with ESMTP id fB4JJGP34869 for ; Tue, 4 Dec 2001 13:19:16 -0600 (CST) (envelope-from kirk@strauser.com) Original-Received: from kirk by pooh.int with local (Exim 3.32 #1 (Debian)) id 16BL64-0001Wz-00 for ; Tue, 04 Dec 2001 13:19:16 -0600 Original-To: ding@hpc.uh.edu In-Reply-To: Original-Lines: 46 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40704 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40704 At 2001-12-04T17:31:11Z, Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjoha= nn) writes: > Kirk Strauser writes: > > I am using Emacs 21.1.1 (Debian/Woody), Gnus version 5.8.8, and BBDB ve= rsion > > 2.32. > Is Gnus 5.9 which comes with Emacs 21.1 not sufficient? Oops... There was a copy of 5.8.8 in site-lisp. Problem corrected. > > The new form of address I want to use is kirk-xxxxx@strauser, where xxx= xx is > > a random integer. Now, the part that's tricking me is that I want all = of > > those new email address to come into their own group, with bonus points= if > > the groups are auto-generated. > In nnmail-split-methods, you can add an entry for "kirk-\\([0-9]+\\)" > going into the group "kirk.\\1", where "\\1" is replaced with the > first pair of parens in the regexp. Actually, I came to a similar conclusion while tearing through the Gnus manual for the umpteenth time. My problem remains, though. I have the following in my .gnus.el: (setq nnmail-split-methods 'bbdb/gnus-split-method bbdb/gnus-split-nomatch-function 'gnus-group-split ) Given that setup (taken pretty much straight from the BBDB manual), where would I insert the rule you gave? In a nutshell, I'd like the following split functions to be called in order: 1: bbdb/gnus-split-method 2: The matching function you described above 3: gnus-group-split I apologize for seeming dim, but my Gnus config consists largely of stuff I've copied-and-pasted from postings to this list, web sites, etc. I understand the mechanics well enough to modify information I find, but not quite well enough yet to start generating stuff on my own. In the mean time, I'm having a blast trying! I tend to get myself in over my head, but that's half the fun for me. :) --=20 Kirk Strauser