Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Advanced Red Gnus scoring syntax
Date: 20 May 1996 11:31:28 +0200	[thread overview]
Message-ID: <x6ivdr7ksv.fsf@eyesore.no> (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."


                 reply	other threads:[~1996-05-20  9:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x6ivdr7ksv.fsf@eyesore.no \
    --to=larsi@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).