Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: `B t' needs to show the rule that matched
Date: Sat, 19 Jan 2002 22:39:54 +0100	[thread overview]
Message-ID: <m3n0zarped.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <vxk3d1eosh5.fsf@cinnamon.vanillaknot.com>

Karl Kleinpaste <karl@charcoal.com> writes:

> While I appreciate having `B t' (gnus-summary-respool-trace) for
> testing changes to nnmail-split-methods, what I really need is for
> that command to tell me which rule matched to produce the intended
> destination group, much as `V t' (gnus-score-find-trace) tells me what
> rule in which scorefile induced what scoring modification.  I'd like
> to see this when I find a message that was split erroneously, so I can
> modify the split methods to get it right.
>
> How hard would it be to convince `B t' to announce the split rule?

I've had a look over the code (look for `nnmail-split-trace' in
nnmail.el), and it doesn't look trivial.  For advanced splits, for
instance, basically everything matches.  It's all one big rule.

(setq
 nnmail-split-fancy
 '(| ("sender" "4ad recording artists list" "4ad")
      ...))

Of course, one could be creative and say that the top-level `|'
"doesn't count", but there might not be a `|' at the top.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



  reply	other threads:[~2002-01-19 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-10 20:34 Karl Kleinpaste
2002-01-19 21:39 ` Lars Magne Ingebrigtsen [this message]
2002-01-20 17:10   ` Kai Großjohann
2002-01-20 17:26     ` Lars Magne Ingebrigtsen

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=m3n0zarped.fsf@quimbies.gnus.org \
    --to=larsi@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).