From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55336 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: Failure in info node? Date: Mon, 29 Dec 2003 18:49:02 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1072720179 2918 80.91.224.253 (29 Dec 2003 17:49:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2003 17:49:39 +0000 (UTC) Original-X-From: ding-owner+M3876@lists.math.uh.edu Mon Dec 29 18:49:36 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ab1WK-000453-00 for ; Mon, 29 Dec 2003 18:49:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ab1W4-0001dO-00; Mon, 29 Dec 2003 11:49:20 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ab1Vw-0001dI-00 for ding@lists.math.uh.edu; Mon, 29 Dec 2003 11:49:12 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id EC0C83A00F8 for ; Mon, 29 Dec 2003 11:49:11 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ab1Vv-0000qD-00 for ; Mon, 29 Dec 2003 18:49:11 +0100 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ab1Vu-0000q4-00 for ; Mon, 29 Dec 2003 18:49:10 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ab1Vt-0000jz-00 for ; Mon, 29 Dec 2003 18:49:09 +0100 Original-Lines: 67 Original-X-Complaints-To: usenet@sea.gmane.org X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:FrDhyZVRJyN0zlxbfXTEL3+sr2E= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55336 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55336 On Sun, Dec 28 2003, Karl Pfl=E4sterer wrote: > ,---- > | Let's say you want to increase the score of articles written by Lars > | when he's talking about Gnus: > |=20 > | ((& > | ("from" "Lars Ingebrigtsen") > | ("subject" "Gnus")) > | 1000) > `---- > > I tried that but it didn't work for me; what's lacking is the > declaration of the match type (substring, regexp ...). Is this an error > in the docs or are these declarations under some circumstances optional? The following score file works for me. Note the additional pair of parentheses as stated in (info "(gnus)Advanced Scoring Examples"): ,----[ gmane.discuss.SCORE ] | (((& | ("from" "Steinar") | ("subject" "spam")) | 3000)) `---- `V t' gives the expected result: ,---- | ((& ("from" "Steinar") ("subject" "spam")) 3000) -> A file `---- Also for non-advanced scoring, only the first element required: ,----[ (info "(gnus)Score File Format") ] | `STRING' | If the key is a string, it is the name of the header to perform the | match on. [...] |=20 | Following this key is an arbitrary number of score entries, where | each score entry has one to four elements. | 1. The first element is the "match element". On most headers | this will be a string, but on the Lines and Chars headers, | this must be an integer. |=20 | 2. If the second element is present, it should be a number--the | "score element". [...] If this element | is not present, the `gnus-score-interactive-default-score' | number will be used instead. This is 1000 by default. `---- This example also works for me: ,----[ gmane.discuss.SCORE ] | (("from" | ("Lars" -1)) | ((& | ("from" "Steinar") | ("subject" "spam")) | 3000)) `---- Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/