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

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

Coloring pieces of messages in Gnus


From: Peter Anderson
Subject: Coloring pieces of messages in Gnus
Date: Fri, 11 May 2012 13:23:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

I'm a noob.  I've looked around and think I've found parts of the answer
but can't find any good examples.

I want to use a regex to change the color of some aspects of articles.
I have a group called git-commit.  For articles in that group I would
like any line that starts with "---" to be red and any line that starts
with "+++" to be green. (the whole line)

Another group has Help-desk tickets in it and it will have line similar
to:

   blah blah blah Assigned: Peter

I want to be able to make the word following "Assigned:" (in this case
"Peter") stand out by changing its color or some attribute.

I think I need to define a function and then use gnus-part-display-hook
but the syntax of it all has eluded me so far.

Thanks so much,

Peter



reply via email to

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