On Tue, Jun 06, 2000 at 06:16:32PM -0700, Jeff Krueger wrote:
> color header   cyan       default  "[-a-z_0-9.+]+@[-a-z_0-9.]+"
> color body   cyan       default  "[-a-z_0-9.+]+@[-a-z_0-9.]+"
> 
> The intent is to color just e-mail addresses as defined by this regex
> differently from the rest of the line.  It works fine in the body, even in
> quoted text - the address is in cyan and the rest of the line is whatever
> color it is supposed to be.
> 
> In the header, however, this colorizes the entire line cyan.  Am I defining
> this improperly somehow, or is in-line coloring not yet available?

Not available.  However once I posted a patch (against Mutt-1.1.1) to
add a new color item (`hdrpart') that gives precisely this
functionality, in addition to current whole-line coloring of `header'.

If anyone is interested, I could blow the dust off it and test it with
current 1.2/1.3 versions.

Marius Gedminas
-- 
If you are good, you will be assigned all the work.  If you are real
good, you will get out of it.

Reply via email to