Gnus Manual. Node: Advanced Scoring Examples

PREVAdvanced Scoring Syntax UPAdvanced Scoring NEXTAdvanced Scoring Tips

7.15.2: Advanced Scoring Examples

Let's say you want to increase the score of articles written by Lars when he's talking about Gnus:

((&
  ("from" "Lars Ingebrigtsen")
  ("subject" "Gnus"))
 1000)

Quite simple, huh?

When he writes long articles, he sometimes has something nice to say:

((&
  ("from" "Lars Ingebrigtsen")
  (|
   ("subject" "Gnus")
   ("lines" 100 >)))
 1000)

However, when he responds to things written by Reig Eigil Logge, you really don't want to read what he's written:

((&
  ("from" "Lars Ingebrigtsen")
  (1- ("from" "Reig Eigir Logge")))
 -100000)

Everybody that follows up Redmondo when he writes about disappearing socks should have their scores raised, but only when they talk about white socks. However, when Lars talks about socks, it's usually not very interesting:

((&
  (1-
   (&
    ("from" "redmondo@.*no" r)
    ("body" "disappearing.*socks" t)))
  (! ("from" "Lars Ingebrigtsen"))
  ("body" "white.*socks"))
 1000)

The possibilities are endless.

PREVAdvanced Scoring Syntax UPAdvanced Scoring NEXTAdvanced Scoring Tips