info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Highlighting groups with tick marks


From: Sébastien Vauban
Subject: Re: Highlighting groups with tick marks
Date: Wed, 08 Dec 2010 15:43:49 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Ted,

Ted Zlatanov wrote:
> On Fri, 02 Jul 2010 21:41:29 +0200 Sébastien Vauban wrote:
> SV> Ted Zlatanov wrote:
>>> On Thu, 29 Apr 2010 09:48:02 +0200 Sébastien Vauban wrote:
>
> SV> Is there a way to highlight (by using another face, I mean) a group that
> SV> contains ticked articles? I know there is a `*' symbol in front of the
> SV> group's name, but I find it not enough... I know about the
> SV> `gnus-group-mail-*' and `gnus-group-news-*' faces, but there is nothing
> SV> for ticked marks, right? Any way to implement it somehow?
>
> SV> If there is an asterisk in front of the line, isn't there any overlay or
> SV> properties than can be put onto the text to fontify it differently?
>
> [...] Look at the manual:
>
> (info "(gnus) Group Highlighting")
>
> You probably want a rule of (> ticked 0) in gnus-group-highlight and
> whatever face you like with it. You can customize gnus-group-highlight if
> you want.

You saved my life ;-)  Exactly what was I looking after, without finding it.

Here I share my customization:

--8<---------------cut here---------------start------------->8---
(defface my-group-ticked-face
  '((t (:foreground "#FF7777"))) "Ticked group face")

(setq gnus-group-highlight
      (append
       '(((> ticked 0) . my-group-ticked-face))
       gnus-group-highlight))
--8<---------------cut here---------------end--------------->8---

Thank you very very very much,
  Seb

-- 
Sébastien Vauban


reply via email to

[Prev in Thread] Current Thread [Next in Thread]