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

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

Re: Change the color of article counts when equal to 0


From: Sébastien Vauban
Subject: Re: Change the color of article counts when equal to 0
Date: Wed, 08 Dec 2010 15:46:26 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Richard,

Richard Riley wrote:
> Sébastien Vauban <address@hidden> writes:
>> Richard Riley wrote:
>>> Sébastien Vauban <address@hidden> writes:
>>>> I'm using 4 count numbers on every group line.
>>>>
>>>> I would like to see the numbers in very light gray when they're equal to 0,
>>>> but can't figure out how -- or, even, if possible at all... Can you help 
>>>> me?
>>>
>>> You need to use a user format function.
>>
>> This helped me a lot. I could remove the count of unread messages when it's
>> equal to 0 [...].
>>
>> Though, I would like to do the same with the counts of unseen or ticked
>> messages, but the variable `gnus-tmp-number-of-unread' does not
>> exist. Any
>
> Did you mean -ticked or something else rather than -unread?

Yes, I did mean `gnus-tmp-number-of-unseen'...


> As a note I wouldnt put that fixed length empty string in - rather try and
> use padding formatting in the format string if its possible.

Yes, good advice. Thanks.


>> idea on how to do such?
>
> It's a cross fingers and hope for the best when hacking gnus ;) I only found
> that var by googling and staring at other similar examples. There often
> seems no rhyme nor reason to what is available but there invairably is ;) I
> asked a couple of times about how to determine what is available but didn't
> get much success. Digging in the code is the best advice I can give.

OK... Thought someone could help on such a thing...

Best regards,
  Seb

-- 
Sébastien Vauban


reply via email to

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