Gnus development mailing list
 help / color / mirror / Atom feed
* Debug nnmail-split-fancy?
@ 2008-02-06 20:33 Norman Walsh
  2008-02-06 22:13 ` Reiner Steib
  2008-02-06 23:00 ` Katsumi Yamaoka
  0 siblings, 2 replies; 5+ messages in thread
From: Norman Walsh @ 2008-02-06 20:33 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 3089 bytes --]

My nnmail-split-fancy looks like this (in part):

(setq nnmail-split-fancy
      '(|    ("X-DSPAM-Result" "Spam" "spam.caught")
       (|    ("X-SPAM-Charset" "yes.*" "spam.missed")
       (& (| (: gnus-registry-split-fancy-with-parent)
	     ("sender" "ubuntu-announce.*@lists\.ubuntu\.com" "ubuntu.announce")
	     ("sender" "ubuntu-users.*@lists\.ubuntu\.com" "ubuntu.users")
	     (any "fvwm@fvwm.org" "apps.fvwm")
	     (any "fvwm@lists.math.uh.edu" "apps.fvwm")

             ;;; more here
	     
	     (any "netnewswire@lists.ranchero.com" "misc.netnewswire")

             ;;; more here

	     (any ".*sun.com" "sun")

	     (from ".*dreamhost.com" "misc.dreamhost")

	     (to "nwn-comments@nwalsh\.com" "norman-walsh-name.comments")

	     "misc")
	  (: nwalsh-incoming-group)))))

Where nwalsh-incoming-group is

(defun nwalsh-incoming-group ()
  (format-time-string "archive.%Y-%m"))

This works really well most of the time. Has done for years. And now, for
this message:

  From: Brent Simmons <brent@ranchero.com>
  Subject: Re: feed source instead of feed info in preview pane
  To: netnewswire@lists.ranchero.com
  Date: Wed, 6 Feb 2008 10:30:25 -0800
  Delivered-To: normanwalsh@gmail.com
  Received-SPF: neutral (google.com: 208.97.132.30 is neither permitted nor denied by best guess record for domain of netnewswire-bounces@lists.ranchero.com) client-ip=208.97.132.30;
  Authentication-Results: mx.google.com; spf=neutral (google.com: 208.97.132.30 is neither permitted nor denied by best guess record for domain of netnewswire-bounces@lists.ranchero.com) smtp.mail=netnewswire-bounces@lists.ranchero.com
  X-DH-Virus-Scanned: Debian amavisd-new at montecristo.dreamhost.com
  X-Spam-Score: 0
  X-Spam-Status: No, score=0 tagged_above=-999 required=999 tests=[none]
  Message-Id: <36DB587E-6B07-4DAE-B0F8-D3F56B9467A0@ranchero.com>
  X-Sent: 1 hour, 58 minutes, 32 seconds ago
  X-Mailer: Apple Mail (2.915)
  X-BeenThere: netnewswire@lists.ranchero.com
  X-Mailman-Version: 2.1.9
  Reply-To: netnewswire@lists.ranchero.com
  List-Id: NetNewsWire help and discussion <netnewswire-ranchero.com>
  List-Archive: <http://lists.ranchero.com/private.cgi/netnewswire-ranchero.com>
  List-Help: <mailto:netnewswire-request@lists.ranchero.com?subject=help>
  Sender: netnewswire-bounces@lists.ranchero.com
  Errors-To: netnewswire-bounces@lists.ranchero.com

'B' 'q' suggests archive.2008-02 and misc. Why doesn't the any rule
match the To: line? Is there some switch I can turn on to get some
debugging output from split fancy?

I had another message go *only* to the archive list, so there's
definitely something funky and it's a serious problem for me.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A great deal may be done by severity,
http://nwalsh.com/            | more by love, but most by clear
                              | discernment and impartial
                              | justice.--Goethe

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debug nnmail-split-fancy?
  2008-02-06 20:33 Debug nnmail-split-fancy? Norman Walsh
@ 2008-02-06 22:13 ` Reiner Steib
  2008-02-07 12:55   ` Norman Walsh
  2008-02-06 23:00 ` Katsumi Yamaoka
  1 sibling, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2008-02-06 22:13 UTC (permalink / raw)
  To: ding

On Wed, Feb 06 2008, Norman Walsh wrote:

> 'B' 'q' suggests archive.2008-02 and misc. Why doesn't the any rule
> match the To: line? Is there some switch I can turn on to get some
> debugging output from split fancy?

Maybe `B t' (gnus-summary-respool-trace)?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debug nnmail-split-fancy?
  2008-02-06 20:33 Debug nnmail-split-fancy? Norman Walsh
  2008-02-06 22:13 ` Reiner Steib
@ 2008-02-06 23:00 ` Katsumi Yamaoka
  2008-02-07 12:56   ` Norman Walsh
  1 sibling, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2008-02-06 23:00 UTC (permalink / raw)
  To: ding

>>>>> Norman Walsh wrote:
> My nnmail-split-fancy looks like this (in part):

> (setq nnmail-split-fancy

I guess there might be something wrong in another part that you
didn't post.  Though it will not probably concern this problem,
please note that "." and also "\." in the regexp string match
any character.

> 	     ("sender" "ubuntu-announce.*@lists\.ubuntu\.com" "ubuntu.announce")
                                               ^^      ^^
Isn't what you intended "\\." ?

> 	     (any "fvwm@fvwm.org" "apps.fvwm")
                            ^
[...]

> This works really well most of the time. Has done for years. And now, for
> this message:

[...]

> 'B' 'q' suggests archive.2008-02 and misc. Why doesn't the any rule
> match the To: line? Is there some switch I can turn on to get some
> debugging output from split fancy?

I tried your configuration and got "archive.2008-02" and
"misc.netnewswire", whatever the value of
`nnmail-split-fancy-match-partial-words' is.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debug nnmail-split-fancy?
  2008-02-06 22:13 ` Reiner Steib
@ 2008-02-07 12:55   ` Norman Walsh
  0 siblings, 0 replies; 5+ messages in thread
From: Norman Walsh @ 2008-02-07 12:55 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

/ Reiner Steib <reinersteib+gmane@imap.cc> was heard to say:
| On Wed, Feb 06 2008, Norman Walsh wrote:
|
|> 'B' 'q' suggests archive.2008-02 and misc. Why doesn't the any rule
|> match the To: line? Is there some switch I can turn on to get some
|> debugging output from split fancy?
|
| Maybe `B t' (gnus-summary-respool-trace)?

Thank you, that revealed my silly mistake. I also use
split-fancy-with-parent and I was looking at a reply. :-(

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Truth lies within a little uncertain
http://nwalsh.com/            | compass, but error is immense.

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debug nnmail-split-fancy?
  2008-02-06 23:00 ` Katsumi Yamaoka
@ 2008-02-07 12:56   ` Norman Walsh
  0 siblings, 0 replies; 5+ messages in thread
From: Norman Walsh @ 2008-02-07 12:56 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]

/ Katsumi Yamaoka <yamaoka@jpl.org> was heard to say:
|>>>>> Norman Walsh wrote:
|> My nnmail-split-fancy looks like this (in part):
|
|> (setq nnmail-split-fancy
|
| I guess there might be something wrong in another part that you
| didn't post.  Though it will not probably concern this problem,
| please note that "." and also "\." in the regexp string match
| any character.
|
|> 	     ("sender" "ubuntu-announce.*@lists\.ubuntu\.com" "ubuntu.announce")
|                                                ^^      ^^
| Isn't what you intended "\\." ?

Yes, the single backslashes are definitely an error. The places where
I've left them out entirely are laziness, I think.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Clearness is so eminently one of the
http://nwalsh.com/            | characteristics of truth that often it
                              | even passes for truth itself.-- Joubert

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-07 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 20:33 Debug nnmail-split-fancy? Norman Walsh
2008-02-06 22:13 ` Reiner Steib
2008-02-07 12:55   ` Norman Walsh
2008-02-06 23:00 ` Katsumi Yamaoka
2008-02-07 12:56   ` Norman Walsh

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).