On 2010-05-27, Mun <mjeli...@gmail.com> wrote: > Hi, > > I would like to use 'color body' to highlight a line which matches > 'pattern' AND also highlight the successive line. However, I couldn't > find any way to extend 'pattern' across multiple lines. > > Is such a thing possible in mutt?
I don't think you can do this with mutt's built-in coloring facility, but I have done this using 'display_filter' and a Perl script to add ANSI color escape sequences around text that matched some pattern. 'allow_ansi' needs to be set in your muttrc as well for this to work. HTH, Gary