From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40789 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: (unknown) Date: Sat, 8 Dec 2001 19:15:56 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: <200112090315.fB93Fut22047@reader.local.lan> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035176286 2772 80.91.224.250 (21 Oct 2002 04:58:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:58:06 +0000 (UTC) Return-Path: Original-Received: (qmail 11907 invoked from network); 9 Dec 2001 03:17:32 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 9 Dec 2001 03:17:32 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16CuSO-0001RX-00; Sat, 08 Dec 2001 21:16:48 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Dec 2001 21:16:35 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id VAA22183 for ; Sat, 8 Dec 2001 21:16:25 -0600 (CST) Original-Received: (qmail 11899 invoked by alias); 9 Dec 2001 03:16:31 -0000 Original-Received: (qmail 11894 invoked from network); 9 Dec 2001 03:16:31 -0000 Original-Received: from smtp.newsguy.com (HELO newsguy.com) (209.155.56.71) by gnus.org with SMTP; 9 Dec 2001 03:16:31 -0000 Original-Received: from reader.local.lan (adsl-66.51.210.228.dslextreme.com [66.51.210.228]) by newsguy.com (8.9.1a/8.9.1) with ESMTP id TAA99668 for ; Sat, 8 Dec 2001 19:16:03 -0800 (PST) Original-Received: (from reader@localhost) by reader.local.lan (8.11.6/8.11.6) id fB93Fut22047; Sat, 8 Dec 2001 19:15:56 -0800 Original-To: ding@gnus.org Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40789 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40789 Subject: Re: The old high low face gambit References: From: Harry Putnam In-Reply-To: (Bill White's message of "Sat, 08 Dec 2001 18:00:52 -0600") Date: Sat, 08 Dec 2001 19:15:55 -0800 Message-ID: Lines: 54 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i586-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Bill White writes: > On the Memorial of Saint Ambrose, 2001, at 14:23, Harry Putnam said: > >> How can I get finer granularity than just `high' face and `low' face >> on the basis of scoring? >> >> I mean something like a face for scores of 1, different for 5, >> different yet above 10 etc. (I have the default score set to 1) > > I tried this for a while but couldn't get a meaningful *and* pleasing > *and* easy-to-read combination of colors. After a while it just > bugged me and I wound up ditching scoring altogether. At any rate, > here's the code I used: Thanks bill, looks like what I was after. [...] Probably just my lack of lisp knowledgw but what about faces 50 thru 75? Where do they come in? And what, in general does the rest of it do? > (setq gnus-summary-highlight > '( > ((and (<= score 100) (> score 0)) . my-gnus-face-80) > ((and (<= score 200) (> score 100)) . my-gnus-face-85) > ((and (<= score 300) (> score 200)) . my-gnus-face-90) > ((and (<= score 400) (> score 300)) . my-gnus-face-95) > ((> score 400) . my-gnus-face-100) > ((= mark gnus-canceled-mark) I guess a blow by blow thing is out of the question but it looks like some kind of trick stuff is happening with lots of existing variables like ancient face, default face etc. Can I just ignore all that? I'm thinking along the line of maybe 3-4 special scoring faces. I'm thinking like adding a line with procmail, since I use procmail anyway, to certain messages like: X-Score: 5 I'm thinking procmail because the reason for adding a scoring line may change frequently and procmail lends itself to being chaned quickly from the command line. I can imaging scripting that would quickly insert a rule to add X-Score: 10 to replies to a certain message for example. Then having scoring set up to find the 10 or whatever and set a face. Similar for other higher/lower faces. It would be one way to have followup scoring without invoking the dreaded `adaptive' score files.