Gnus development mailing list
 help / color / mirror / Atom feed
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Tricky (to me) mail splitting
Date: 04 Dec 2001 13:19:16 -0600	[thread overview]
Message-ID: <87zo4ypzd7.fsf@pooh.int> (raw)
In-Reply-To: <vaf8zcigae8.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>


At 2001-12-04T17:31:11Z, Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Kirk Strauser <kirk@strauser.com> writes:

> > I am using Emacs 21.1.1 (Debian/Woody), Gnus version 5.8.8, and BBDB version
> > 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 xxxxx 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.  :)
-- 
Kirk Strauser



  reply	other threads:[~2001-12-04 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-04 16:20 Kirk Strauser
2001-12-04 17:31 ` Kai Großjohann
2001-12-04 19:19   ` Kirk Strauser [this message]
2001-12-05  8:53     ` Kai Großjohann

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=87zo4ypzd7.fsf@pooh.int \
    --to=kirk@strauser.com \
    /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).