Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: (unknown)
Date: Sat, 8 Dec 2001 19:15:56 -0800	[thread overview]
Message-ID: <200112090315.fB93Fut22047@reader.local.lan> (raw)

Subject: Re: The old high low face gambit
References: <m1n10urd85.fsf@reader.newsguy.com> <m3r8q5feiz.fsf@wolfram.com>
From: Harry Putnam <reader@newsguy.com>
In-Reply-To: <m3r8q5feiz.fsf@wolfram.com> (Bill White's message of "Sat, 08
 Dec 2001 18:00:52 -0600")
Date: Sat, 08 Dec 2001 19:15:55 -0800
Message-ID: <m1pu5phyms.fsf@reader.newsguy.com>
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 <billw@wolfram.com> writes:

> On the Memorial of Saint Ambrose, 2001, at 14:23, Harry Putnam <reader@newsguy.com> 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.



             reply	other threads:[~2001-12-09  3:15 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-09  3:15 Harry Putnam [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-17 20:35 Bob Newell
2021-09-18  6:15 ` (unknown) Andreas Schwab
2006-07-29 14:11 (unknown) Daiki Ueno
2003-04-02  5:43 (unknown) Ben Brown
2003-01-21  2:44 (unknown) Jason L Tibbitts III
2002-10-20 20:14 (unknown) Unknown
2002-05-10 20:40 (unknown) joseph edward
2002-05-09  4:49 (unknown) laurent mpeti kabila
2002-05-07  6:06 (unknown) laurent mpeti kabila
2002-05-03 15:51 (unknown) laurent mpeti kabila
2002-01-21  5:19 (unknown) Ä£±¸¿¡°Ô
2001-11-11 17:39 (unknown) owner-ding
2001-11-05 15:25 (unknown) Harry Putnam
2001-11-04 18:05 (unknown) Harry Putnam
2001-11-02  8:06 (unknown) BALABAN ADRIAN
2001-04-03 17:25 (unknown) Harry Putnam
2000-12-13 15:18 (unknown) colman
2000-10-09  9:20 (unknown) Umesh Biradar
2000-08-15 15:32 (unknown) Abuse
1999-04-19 16:15 (unknown) karthy
1998-11-29 23:54 (unknown) Jason L Tibbitts III
1998-10-17  6:59 (unknown) Mark Hovey
1998-10-15 16:32 (unknown) Mark Hovey
1998-10-15 15:29 (unknown) Mark Hovey
1998-09-19 15:34 (unknown) Michael Harnois
1997-06-08  2:23 (unknown) anonymous
1997-03-26 14:37 (unknown) Thomas Bopp
1996-11-28  1:50 (unknown) lars
1996-08-19  5:16 (unknown) Michael Harnois
1996-02-21 23:26 (unknown) Steven L. Baur
1996-02-21 23:06 (unknown) Steven L. Baur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200112090315.fB93Fut22047@reader.local.lan \
    --to=reader@newsguy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).