From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21553 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Scoring problem for short messages Date: 26 Feb 1999 09:17:08 +0100 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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035159635 23543 80.91.224.250 (21 Oct 2002 00:20:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:20:35 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA03088 for ; Fri, 26 Feb 1999 03:40:59 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB07126; Fri, 26 Feb 1999 02:39:56 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 26 Feb 1999 02:40:40 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id CAA03007 for ; Fri, 26 Feb 1999 02:40:12 -0600 (CST) Original-Received: from quimbies.gnus.org (larsi@ppp059.uio.no [129.240.240.60]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA03058 for ; Fri, 26 Feb 1999 03:40:02 -0500 (EST) Original-Received: (from larsi@localhost) by quimbies.gnus.org (8.8.7/8.8.7) id JAA24019; Fri, 26 Feb 1999 09:39:32 +0100 Mail-Copies-To: never X-Now-Reading: Italo Calvinos _Usynlige byer_ X-Now-Playing: Nicolette's _Let No-One Live Rent Free In Your Head (cd1)_: "Nightmare" Original-To: ding@gnus.org In-Reply-To: François Pinard's message of "22 Feb 1999 21:35:00 -0500" User-Agent: Gnus/5.070078 (Pterodactyl Gnus v0.78) XEmacs/21.2(beta3) (Aglaia) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > I could use some bigger number of lines and use an inequality, but then, > the score might be decreased if a message happens to contain `rapquot' > together with something else which then interests me. I would like the > score to be decreased /only/ if the message contains `rapquot' and nothing > else than white lines, say. Do you have an idea how I could manage this? You could score on "body" and, er, blankness, but that would take a while. > I also do not know when and how lines are counted. Is there a way to > arrange so that count excludes prior and subsequent white lines? Gnus uses the contents of the Lines header. So for mail you could have a function run off of `nnmail-prepare-incoming-message-hook' remove all heading and trailing blank lines, and then the Lines header should be correct, I think. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen