From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42217 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: `B t' needs to show the rule that matched Date: Sat, 19 Jan 2002 22:39:54 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177487 10189 80.91.224.250 (21 Oct 2002 05:18:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:18:07 +0000 (UTC) Return-Path: Original-Received: (qmail 6014 invoked from network); 19 Jan 2002 21:40:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 19 Jan 2002 21:40:52 -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 16S3Do-0006cE-00; Sat, 19 Jan 2002 15:40:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 19 Jan 2002 15:40:13 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA18550 for ; Sat, 19 Jan 2002 15:40:01 -0600 (CST) Original-Received: (qmail 6008 invoked by alias); 19 Jan 2002 21:40:01 -0000 Original-Received: (qmail 6003 invoked from network); 19 Jan 2002 21:40:00 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 19 Jan 2002 21:40:00 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16S3H4-0005Sn-00 for ; Sat, 19 Jan 2002 22:43:42 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 27 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby2.netfonds.no 1011476622 19185 195.204.10.148 (19 Jan 2002 21:43:42 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 19 Jan 2002 21:43:42 GMT Mail-Copies-To: never X-Now-Playing: Playgroup's _Playgroup_: "Pressure" User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (i686-pc-linux-gnu) X-Face: 0Jvd?-<$Pwx/Fx-$$|R5YKxX7"`~`GOV]oX?.BpF~= r[#t0tO]5HOzs~IMYAsb\ Cancel-Lock: sha1:ePh2YxOTlS3w7RCMtkXIqOHa+gY= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42217 Karl Kleinpaste 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