From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15887 Path: news.gmane.org!not-for-mail From: Anonymous Newsgroups: gmane.emacs.gnus.user Subject: Re: Re: simple "advanced" score file is apparently ignored (and Gnus Date: Tue, 09 Oct 2012 03:15:02 -0600 Organization: mail2news@dizum.com Message-ID: <5fa8df10f2a597e3257a524fa12c2279@breaka.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349774410 16915 80.91.229.3 (9 Oct 2012 09:20:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2012 09:20:10 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Oct 09 11:20:17 2012 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TLVz3-0005yS-CA for gegu-info-gnus-english@m.gmane.org; Tue, 09 Oct 2012 11:20:13 +0200 Original-Received: from localhost ([::1]:34912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLVyx-00048h-6m for gegu-info-gnus-english@m.gmane.org; Tue, 09 Oct 2012 05:20:07 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news.alt.net!news.dizum.com!sewer-output!mail2news Original-Newsgroups: gnu.emacs.gnus In-Reply-To: Warning: Remailer Reliability Statistics are older than one day (check your clock?). Mail-To-News-Contact: abuse@dizum.com Original-Xref: usenet.stanford.edu gnu.emacs.gnus:86979 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15887 Archived-At: >The structure of my ~/News/all.SCORE looks like this: Thanks. >You can cause the global score file to be reloaded by using W f in the >*Group* buffer. Very useful. I've been restarting repeatedly as I build the score file.. this will save me some time. >(I've never tried anything in the Advanced category.) My end game is to mirror the slrn score file, which is quite powerful. This forced me down the path of the advanced format in Gnus. It was quite confusing at first because there's a temptation to combine constructs and features from the advanced rules and the simple rules, which turns out to be impossible. It turns out the scores cannot be influenced in each match criteria and also the whole rule -- it's one or the other. E.g., this does *not* work: ((& ("xref" "some-group" 50 nil s) ("subject" "some-topic" 20 nil s)) 200) The other major stumbling block to understanding the scoring is that the simple rule format has an extra set of a paranthesis to group the match type with the match string. E.g., this: ("subject" ("some-topic" 20 nil s)) vs. ("subject" "some-topic" s) It took me hours to discover that inconsistency (amid other differences between the two formats). Was painful. In the end, the Gnus score file is certainly less readable than slrn with a very unforgiving parser, but it seems to have the same capability. So I finally got something working. If anyone wants to see a complete example of an advanced score file, I have pasted one below because the manual does not have one, and web searches come up dry on this. In this example, the first rule gives a high score to articles appearing in newsgroups with "android" or "mobile" in the name, and with a subject matter being multi-sim phones, or a Galaxy S Duo in particular. The second rule is designed to give a high score to airports of interest in the nntp+news.gmane.org:gwene.com.flyertalk.mileage-run.deals newsgroup. ( ((& (| ("xref" "droid" S) ("xref" "mobile" s)) (| (& ("subject" "sim") (| ("subject" "dual") ("subject" "triple") ("subject" "quad") ) ) ("subject" "galaxy.s.duo" r) ) 1000) ((& (| ("xref" "flyer.*mileage" r) ("xref" "travel" s)) (| ("subject" "\\" r) ("subject" "\\" r) ("subject" "\\" r) ("subject" "\\" r) ("subject" "\\" r) ("subject" "\\" r) ) 1000) )