From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27443 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: scoring Date: 01 Dec 1999 21:56:42 +0100 Organization: Programmerer Ingebrigtsen 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 1035164470 24626 80.91.224.250 (21 Oct 2002 01:41:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:41:10 +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 PAA04394 for ; Wed, 1 Dec 1999 15:52:52 -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 OAB02811; Wed, 1 Dec 1999 14:51:51 -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 14:52:03 -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 OAA27511 for ; Wed, 1 Dec 1999 14:51:52 -0600 (CST) Original-Received: from quimby.gnus.org (quimby.gnus.org [193.69.4.139]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA04368 for ; Wed, 1 Dec 1999 15:51:25 -0500 (EST) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id VAA00466 for ding@gnus.org; Wed, 1 Dec 1999 21:53:33 +0100 (CET) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 36 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 944081613 24810 193.69.4.148 (1 Dec 1999 20:53:33 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 1 Dec 1999 20:53:33 GMT Mail-Copies-To: never X-Now-Playing: Cuba's _Leep of Faith_: "Fiery Cross" User-Agent: Gnus/5.08 (Gnus v5.8.0) XEmacs/21.2 (Sumida) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ 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? The newline bits are in there to avoid having the score code go to multi-line matching, which it will do, giving spurious results and stuff. > (My guess is that the example is wrong, and PGnus interprets "\" > and "n" as two distinct characters, within [ and ] --- am I correct? No, Gnus reads the score files with `read', which will do the right thing. So I don't understand this. The [^:\n]+ should work while the [^:]+ should match articles where there aren't that many Xref headers. > 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. Scoring on threads create lots of ADAPT files that it later uses when scoring. It seems to work for me... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen