From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40791 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: The old high low face gambit Date: Sun, 09 Dec 2001 00:48:45 -0800 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=us-ascii X-Trace: main.gmane.org 1035176289 2791 80.91.224.250 (21 Oct 2002 04:58:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:58:09 +0000 (UTC) Return-Path: Original-Received: (qmail 16638 invoked from network); 9 Dec 2001 08:50:09 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 9 Dec 2001 08:50:09 -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 16CzeP-0001sr-00; Sun, 09 Dec 2001 02:49:33 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 09 Dec 2001 02:49:19 -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 CAA23195 for ; Sun, 9 Dec 2001 02:49:08 -0600 (CST) Original-Received: (qmail 16627 invoked by alias); 9 Dec 2001 08:49:14 -0000 Original-Received: (qmail 16622 invoked from network); 9 Dec 2001 08:49:14 -0000 Original-Received: from smtp.newsguy.com (HELO newsguy.com) (209.155.56.71) by gnus.org with SMTP; 9 Dec 2001 08:49:14 -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 AAA41174 for ; Sun, 9 Dec 2001 00:48:46 -0800 (PST) Original-Received: (from reader@localhost) by reader.local.lan (8.11.6/8.11.6) id fB98mjn21188; Sun, 9 Dec 2001 00:48:45 -0800 Original-To: ding@gnus.org In-Reply-To: (message of "Sat, 08 Dec 2001 18:00:52 -0600") Original-Lines: 57 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i586-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40791 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40791 [NOTE: repost of something I butchered in some awful way due to heavy local tinkerage. Somehow ended up on ding with no subject] 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.