mike.kupfer(a)sun.com writes:
Hi!
I have several mail folders that I read via gnus, using the nnmh
foreign group feature. Some of the folders don't get read often, and
I use date scoring to help weed out older messages. Occasionally gnus
will incorrectly flag a message as matching a "before" entry. For
example, consider the following score entry and the following header:
[...]
X-Original-Date: Thu, 09 Oct 2003 16:23:39 -0700
Date: Thu, 09 Oct 2003 16:23:39 -0700
Content-Type: text
Content-Length: 2758
and the score entry
("date"
("20020401" -100 nil before))
I would not expect this to match, but it does.
[...]
So, can anyone tell me
1. What the correct date syntax is for before/after score entries?
This is an excerpt from the Gnus manual about scoring on date
"Date"
For the Date header we have three kinda silly match
types: `before', `at' and `after'. I can't really
imagine this ever being useful, but, like, it would feel
kinda silly not to provide this function. Just in case.
You never know. Better safe than sorry. Once burnt,
twice shy. Don't judge a book by its cover. Never not
have sex on a first date. (I have been told that at
least one person, and I quote, "found this function
indispensable", however.)
A more useful match type is `regexp'. With it, you can
match the date string using a regular expression. The
date is normalized to ISO8601 compact format
first--YYYYMMDD`T'HHMMSS. If you want to match all
articles that have been posted on April 1st in every
year, you could use `....0401.........' as a match
string, for instance. (Note that the date is kept in
its original time zone, so this will match articles that
were posted when it was April 1st where the article was
posted from. Time zones are such wholesome fun for the
whole family, eh?)
2. Why I'm seeing these occasional incorrect matches?
Dunno. You might be better off asking this on ding(a)gnus.org.
norbert.