From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27484 Path: main.gmane.org!not-for-mail From: Brian May Newsgroups: gmane.emacs.gnus.general Subject: Re: scoring Date: 02 Dec 1999 12:41:06 +1100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164504 24843 80.91.224.250 (21 Oct 2002 01:41:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:41:44 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA08430 for ; Wed, 1 Dec 1999 20:41:53 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id TAB03588; Wed, 1 Dec 1999 19:41:35 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 01 Dec 1999 19:41:47 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id TAA00869 for ; Wed, 1 Dec 1999 19:41:37 -0600 (CST) Original-Received: from silas-2.cc.monash.edu.au (bam@silas-2.cc.monash.edu.au [130.194.1.7]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA08417 for ; Wed, 1 Dec 1999 20:41:09 -0500 (EST) Original-Received: (from bam@localhost) by silas-2.cc.monash.edu.au (8.9.1a/8.9.1) id MAA06952; Thu, 2 Dec 1999 12:41:06 +1100 (EST) Original-To: ding@gnus.org X-Home-Page: http://www.csse.monash.edu.au/~bmay/ In-Reply-To: Lars Magne Ingebrigtsen's message of "Wed, 01 Dec 1999 21:56:42 +0100" Original-Lines: 55 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27484 >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> Brian May writes: >> ("xref" ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" -1000 nil r)) >> >> However, this doesn't work, instead I have to use: >> >> ("xref" ("[^:]+:[0-9]+ +[^:]+:[0-9]+ +[^:]+:[0-9]+" -1000 nil r)) >> >> Which really puzzles me, as PGnus doesn't display any newlines >> within the Xref line. Is that notation a legal R.E.? Or perhaps >> PGnus removes newlines within the Xref line before displaying it? Lars> The newline bits are in there to avoid having the score code Lars> go to multi-line matching, which it will do, giving spurious Lars> results and stuff. I know - however it doesn't work... >> (My guess is that the example is wrong, and PGnus interprets "\" >> and "n" as two distinct characters, within [ and ] --- am I correct? Lars> No, Gnus reads the score files with `read', which will do the right Lars> thing. Lars> So I don't understand this. The [^:\n]+ should work while the [^:]+ Lars> should match articles where there aren't that many Xref headers. It wasn't working. In fact, I never have got any control characters to work within [ .. ] yet (except for ^). As this example is documented, I felt it should work (and isn't just me doing something wrong). My rule does do the right think, but perhaps that is coincidence in that Xref usually is the last header. >> Another thing, while scoring based on the "Message-Id" works, scoring >> based on "thread" doesn't work (nothing matches). This has me rather >> puzzled, because I thought matching on thread is the same thing as >> matching on the "Message-Id", but with followups included, too. Lars> Scoring on threads create lots of ADAPT files that it later uses when Lars> scoring. It seems to work for me... I managed to get it to create the adapt file, with the correct reference entries, etc. However, none of the articles were being highlighted. I don't understand why. Even more weird, it that scoring of "followups" works fine. I believe the two are very similar. PGnus 0.98 -- Brian May