On Sun, Nov 14, 2010 at 11:28:41AM -0400, Monte Stevens wrote:
> On Sun, Nov 14, 2010 at 02:57:52PM +0800, Yue Wu wrote:
> > As the title, I want to, say, highlight all messages with the subject
> > "vim" in folder "ml-r" in color red, how to define such a color?
> 
> Folder hooks and color can do that.
> 
> # For pager
> folder-hook . 'color header white black "Subject: "'
> folder-hook 'ml-r' 'color header white red "Subject: .*vim.*"'
> 
> # For index
> folder-hook . 'color index white black "."'
> folder-hook 'ml-r' 'color index white red "~s .*vim.*"'
> 

Thank all of you so kindly help. I thought there's a way to define a
color for one folder without touching the default setting.

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

Reply via email to