From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6271 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Advanced Red Gnus scoring syntax Date: 20 May 1996 11:31:28 +0200 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146752 3133 80.91.224.250 (20 Oct 2002 20:45:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:45:52 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id LAA09498 for ; Mon, 20 May 1996 11:28:40 -0700 Original-Received: from eistla.ifi.uio.no (4867@eistla.ifi.uio.no [129.240.94.29]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 20 May 1996 19:53:14 +0200 Original-Received: (from larsi@localhost) by eistla.ifi.uio.no ; Mon, 20 May 1996 19:53:12 +0200 Original-To: ding@ifi.uio.no Original-Lines: 36 X-Mailer: September Gnus v0.90/Emacs 19.29 Xref: main.gmane.org gmane.emacs.gnus.general:6271 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6271 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."