From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15813 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Gnus manual scoring tips Date: 03 Aug 1998 10:25:44 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035154784 24184 80.91.224.250 (20 Oct 2002 22:59:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:59:44 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.1/8.9.1) with ESMTP id KAA07382 for ; Mon, 3 Aug 1998 10:38:43 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id NAA29354 for ; Mon, 3 Aug 1998 13:34:19 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id MAT30028; Mon, 3 Aug 1998 12:05:04 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 03 Aug 1998 12:29:51 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAA16439 for ; Mon, 3 Aug 1998 12:29:40 -0500 (CDT) Original-Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA19959 for ; Mon, 3 Aug 1998 13:28:24 -0400 (EDT) Original-Received: from localhost (pm0-8.sba1.avtel.net [207.71.218.8]) by beach.silcom.com (8.9.0/8.9.0) with ESMTP id KAA06304 for ; Mon, 3 Aug 1998 10:30:07 -0700 (PDT) Original-To: ding@gnus.org Original-Lines: 103 X-Mailer: Gnus v5.6.27/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15813 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15813 Trying to develope some more sophisticated score files and making heavy use of Gnus info "Advanced Soring". I've attempted to take a few of Lars humerous examples "Advanced Scoring Tips" and rework them for my own use, but was not able to get the syntax so that Gnus would except it on a score file. Thinking I was botching the job some how syntactically I tried inserting some of the examples by cut and paste. Every single example in 'Advanced Scoring Examples' gets rejected with an error message about an illegal element. Inserting these examples in Summary Mode with 'V e' (edit score file) produces these messages: This example from Advanced Scoring Examples ((& ("from" "Lars Ingebrigtsen") (| ("subject" "Gnus") ("lines" 100 >))) 1000) Produces this message when inserted from summary buffer with 'V e': C-c C-c to save edits Wrote /home/dj/News/comp.emacs.xemacs.SCORE Illegal score element 1000 in /home/dj/News/comp.emacs.xemacs.SCORE This one: ((& ("from" "Lars Ingebrigtsen") (1- ("from" "Reig Eigir Logge"))) -100000) Produces this message: Wrote /home/dj/News/comp.emacs.xemacs.SCORE Illegal score element -100000 in /home/dj/News/comp.emacs.xemacs.SCORE C-c C-c to save edits I couldn't get any where attempting to get a score phrase that says: Add score of 1 (my default) to all followups to a list of authors: Using the example below from Advanced Examples, I've attempted to rework it to do the above. * 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) * My renditions try to say: Score 1 on followups to Lars and Kai on any subject, but not from Harry. ((& (1- (& ("from" "lars\|kai") ("subject" "" nil nil s))) (! ("from" "harry")) ("subject" "" nil nil s)) 1) ************* ((& (1- (& ("from" "lars ) ("from" "kai") ("subject" "" nil nil s))) (! ("from" "harry")) ("subject" "" nil nil s)) 1) These give the same message of illegal score element of 1. Eliminating that line and adding a paren to the line above allows the file to be saved with no messages but no scoring happens. What needs changing? -- Harry Putnam reader@newsguy.com