Gnus development mailing list
 help / color / mirror / Atom feed
From: Bill White <billw@wolfram.com>
Cc: <ding@gnus.org>
Subject: Re: the gnus-newsgroup-unseen mark is too sticky
Date: Tue, 26 Feb 2002 22:31:23 -0600	[thread overview]
Message-ID: <a5hna9$brt$1@quimby2.netfonds.no> (raw)
In-Reply-To: <m1adtwmbg2.fsf@reader.newsguy.com> (Harry Putnam's message of "Tue, 26 Feb 2002 08:53:33 -0800")

On Tue Feb 26 2002 at 10:53, Harry Putnam <reader@newsguy.com> said:

> Bill White <billw@wolfram.com> writes:
>
>> (defface gnus-summary-unseen-face
>>   '((((class color))
>>      (:foreground "gold" :background "black")))
>>   "Face used for unseen (.-marked) articles.")
>>
>> (require 'gnus-sum)
>> (require 'cl)
>>
>> (pushnew '((memq (gnus-summary-article-number)
>> 		 gnus-newsgroup-unseen)
>> 	   . gnus-summary-unseen-face)
>> 	 gnus-summary-highlight)
>
> How can that be rewritten so that it hylights messages scored above
> a certain score?

I think this would do it, but I don't use scoring so I haven't tested
it.  See the docs for the variable gnus-summary-highlight

----------------------------------------------------------------------
(defface gnus-summary-my-score-face
  '((((class color))
     (:foreground "gold" :background "black")))
  "Face used for articles whose score is > 123.")

(require 'gnus-sum)
(require 'cl)

(pushnew '((> score 123) . gnus-summary-my-score-face)
	 gnus-summary-highlight)
----------------------------------------------------------------------

Cheers -

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




  parent reply	other threads:[~2002-02-27  4:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-26 14:02 Bill White
2002-02-26 16:53 ` Harry Putnam
2002-02-27  4:31   ` Bill White
2002-02-27  6:15     ` Harry Putnam
2002-02-27  6:15     ` Harry Putnam
2002-02-27  4:31   ` Bill White [this message]
2002-02-26 16:53 ` Harry Putnam
2002-02-26 18:17 ` Simon Josefsson
2002-02-26 18:17 ` Simon Josefsson
2002-02-27 16:46   ` Bill White
2002-02-27 17:45     ` Bill White
2002-02-28 12:35       ` Bill White
2002-02-28 12:35       ` Bill White
2002-02-27 17:45     ` Bill White
2002-02-27 16:46   ` Bill White
2002-02-26 14:02 Bill White

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='a5hna9$brt$1@quimby2.netfonds.no' \
    --to=billw@wolfram.com \
    --cc=ding@gnus.org \
    /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).