haomiao <[EMAIL PROTECTED]> writes:

>       I want gnus can display different color according to some
> dynamic condition in my summary buffer,
>   for example
>          if  date of mail is today, then  the date color is red
>          else the date color is blue
>       How can I get that effect, by setting gnus-summary-line-format
> or something else?

Yes.

(info "(gnus)Group Line Specification")

,----
| `u'
|      User defined specifier.  The next character in the format string
|      should be a letter.  Gnus will call the function
|      `gnus-user-format-function-'`X', where `X' is the letter following
|      `%u'.  The function will be passed a single dummy parameter as
|      argument.  The function should return a string, which will be
|      inserted into the buffer just like information from any other
|      specifier.
`----

I guess you will have to write your own specifier so that it changes the
face for the date in the summary line.

-- 
Bastien


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to