Gnus development mailing list
 help / color / mirror / Atom feed
* Advanced Red Gnus scoring syntax
@ 1996-05-20  9:31 Lars Magne Ingebrigtsen
  0 siblings, 0 replies; only message in thread
From: Lars Magne Ingebrigtsen @ 1996-05-20  9:31 UTC (permalink / raw)


It should be possible to score in a more advanced fashion.  For
instance, if "Lars" answers something "Geir" has written, you may want
to lower the score dramatically.  So we basically need locical
operators in the score files: `|', `&', `!', `1-', and so on.

((&
  ("from" "lars" s)
  (1- 
   ("from" "geir.*@ifi" r)))
 -1000)

Or how about lowering the score of all articles written by Lars or
containing the word "moron!" that is in reply to "Geir", unless the
Keywords header contains the word "important" or "Geir" was following
up "Per":

((&
  (|
   ("from" "lars")
   ("body" "moron!"))
  (1- ("from" "geir.*@ifi" r))
  (! ("head" "^Keywords: important"))
  (! (2- ("from" "per"))))
 -1000)

Is this syntax understandable?  Is it general enough?

This sort of scoring will be quite a bit slower than the current
scoring scheme.  It requires looping over all the articles and
applying these advanced score rules.  The `1-' and `2-' (etc)
directives requires reading all (or many) if the headers of read
articles to be able to find parents and stuff.

-- 
  "Yes.  The journey through the human heart 
     would have to wait until some other time."


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-05-20  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-20  9:31 Advanced Red Gnus scoring syntax Lars Magne Ingebrigtsen

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