From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16252 Path: news.gmane.org!not-for-mail From: Mark Longair Newsgroups: gmane.emacs.gnus.user Subject: scoring emails based on the To and Cc headers Date: Mon, 15 Apr 2013 01:43:44 -0700 (PDT) Message-ID: 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 1366015503 4226 80.91.229.3 (15 Apr 2013 08:45:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 08:45:03 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Apr 15 10:45:07 2013 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 1URf2A-0000lh-PE for gegu-info-gnus-english@m.gmane.org; Mon, 15 Apr 2013 10:45:06 +0200 Original-Received: from localhost ([::1]:49670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URf2A-0000Eb-BY for gegu-info-gnus-english@m.gmane.org; Mon, 15 Apr 2013 04:45:06 -0400 X-Received: by 10.224.160.65 with SMTP id m1mr12805791qax.2.1366015424414; Mon, 15 Apr 2013 01:43:44 -0700 (PDT) X-Received: by 10.49.35.198 with SMTP id k6mr210355qej.18.1366015424393; Mon, 15 Apr 2013 01:43:44 -0700 (PDT) Original-Path: usenet.stanford.edu!ca1no45448980qab.0!news-out.google.com!ef9ni31353qab.0!nntp.google.com!ca1no45448977qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=62.254.247.131; posting-account=NG02WQoAAACv5enRN0cPmeHxqbgdpB1x Original-NNTP-Posting-Host: 62.254.247.131 User-Agent: G2/1.0 Injection-Date: Mon, 15 Apr 2013 08:43:44 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:87379 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:16252 Archived-At: (I originally asked this at unix.stackexchange.com but someone suggested to me that it would be more sensible to ask in this group.) I use Gnus v5.13 in GNU Emacs 24.1.1 to read my email, and I'm having trouble getting a simple score file to work. Essentially, I want any mail that's sent to (or copies) a particular email address to be given a higher score. My example score file, in ~/Mail/all.SCORE is: (("from" ("Mark Longair" 1000)) ("To" ("mark-scoretesting@example.org" 1000))) I'm making sure that that score file is being used by having added the following to my ~/.gnus file: (setq gnus-global-score-files '("~/Mail/all.SCORE")) This does seem to work properly for the rule that matches the From line - matching messages are highlighted, and when I type V S in the summary buffer, it shows a score of 1000 for those messages. However, the "To" rule doesn't match. I've seen in the documentation here: http://www.gnu.org/software/emacs/manual/html_node/gnus/Score-File-Format.html ... that "Scoring can only be performed on these eight headers: From, Subject, References, Message-ID, Xref, Lines, Chars and Date", but here: http://www.gnu.org/software/emacs/manual/html_node/gnus/Scoring-On-Other-Headers.html ... says that one can get around this limitation by adding the following to .gnus: (setq gnus-extra-headers '(To Cc Newsgroups Keywords) nnmail-extra-headers gnus-extra-headers) ... and then restarting Gnus and running M-x nnml-generate-nov-databases. I've tried that (with just To and Cc), but the rule for the "To" line still isn't working, even if I type V R to rescore the articles in my summary buffer. Could any possibly suggest how to get this to work? Many thanks, Mark