Gnus development mailing list
 help / color / mirror / Atom feed
From: Steven L Baur <steve@miranova.com>
Cc: ding@ifi.uio.no
Subject: Re: gnus-group-highlight
Date: 03 Jun 1996 12:09:53 -0700	[thread overview]
Message-ID: <m2ivd8bt6m.fsf@deanna.miranova.com> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 03 Jun 1996 06:17:14 -0700

>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:

Lars> I've now moved the definition of this variable to gnus-cus.el so that
Lars> you can use custom to, uhm, customize it.
...
Lars> Does anybody have a nicer value for this that they'd like to
Lars> contribute?  The variables you have to play with include:

I'm currently using a scheme based on subscription levels with
relative shading indicating the level and distinct colors between mail
& Usenet groups.  It looks like this: (against XEmacs 19.14 beta).
	http://www.miranova.com/~steve/gnus-topics.gif

These are probably not optimum colors, but it has ``fruit salad''
coloring, which I like.

(setq gnus-group-highlight
      (cond 
       ((not (eq gnus-display-type 'color))
	'((mailp . bold)
	  ((= unread 0) . italic)))
       ((eq gnus-background-mode 'dark)
	`(((not mailp) .
	   ,(custom-face-lookup "ForestGreen" nil nil t nil nil))
	  ((zerop unread) .
	   ,(custom-face-lookup "Blue" nil nil t nil nil))))
       (t
	`(
	  ((and (not mailp) (<= level 3)) .
	   ,(custom-face-lookup "ForestGreen" nil nil t nil nil))
	  ((and (not mailp) (eq level 4)) .
	   ,(custom-face-lookup "DarkGreen" nil nil t nil nil))
	  ((and (not mailp) (eq level 5)) .
	   ,(custom-face-lookup "Red" nil nil t nil nil))
	  ((and (eq (car method) 'nnml) (eq level 1)) .
	   ,(custom-face-lookup "DeepPink3" nil nil t nil nil))
	  ((and (eq (car method) 'nnml) (eq level 2)) .
	   ,(custom-face-lookup "HotPink3" nil nil t nil nil))
	  ((and (eq (car method) 'nnml) (eq level 3)) .
	   ,(custom-face-lookup "dark magenta" nil nil t nil nil))
	  ((and (eq (car method) 'nnml) (eq level 4)) .
	   ,(custom-face-lookup "DeepPink4" nil nil t nil nil))
	  ((and (eq (car method) 'nnml) (> level 4)) .
	   ,(custom-face-lookup "DarkOrchid4" nil nil t nil nil))
))))

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.


  reply	other threads:[~1996-06-03 19:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-03 13:17 gnus-group-highlight Lars Magne Ingebrigtsen
1996-06-03 19:09 ` Steven L Baur [this message]
1996-06-03 19:12 ` gnus-group-highlight Greg Thompson
1996-06-04  6:56 ` gnus-group-highlight Kees de Bruin
1996-06-04 11:34   ` gnus-group-highlight Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
1996-02-06 15:31 gnus-group-highlight Dr. Pete Gieser
1996-02-06 18:18 ` gnus-group-highlight Greg Thompson

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=m2ivd8bt6m.fsf@deanna.miranova.com \
    --to=steve@miranova.com \
    --cc=ding@ifi.uio.no \
    /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).