Mutt launchpad bug coloring
michael at vorlon.ping.de
Wed Dec 17 08:22:38 GMT 2008
On 2008-12-17 09:02:31 +0200, أحمد المحمودي wrote:
> > Here's an example .muttrc file similar to what I use:
> > http://bryceharrington.org/files/lp-mutt-colors
> > When using mutt's threaded view, you can quickly spot "patterns", like a
> > series of emails ending in one green one usually means that bug got
> > fixed, so you can skip over it. It's also useful in spotting
> > replies on bugs you've worked on.
> I just tried it, it's cool, yet there is a problem if I'm using mutt
> to access POP/IMAP mailboxes, those coloring rules makes mutt fetch
> ALL emails' bodies (not just the headers) to implement those color
Mutt has no other choice if you do the colouring in the index list based
on body contents.
But you can try filtering just on the X-Launchpad-Bug header. The
disadvantage is that not only status changes are coloured and that it
probably doesn't work well on bugs with several tasks as you get several
Here are some updated examples:
color index default white "~hX-Launchpad-Bug:.*status\\=Incomplete\\;"
color index default green '~hX-Launchpad-Bug:.*status\\=Fix\\ Released\\;"
color index white magenta "~hX-Launchpad-bug:.*status\\=Invalid\\;"
color index yellow magenta "~hX-Launchpad-Bug:.*status\\=Won\\'t\\ Fix\\;"
More information about the ubuntu-devel