Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2007 23:45:29 -0500
From:      Erik Osterholm <erik-freebsd@erikosterholm.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Tagging email subject line with something like [fbsd-questions]
Message-ID:  <20070426044528.GA73656@idoru.cepheid.org>
In-Reply-To: <20070425214749.GB82659@demeter.hydra>
References:  <294439d20704250627h60a5b5dcx49f4dd6b34c2caa1@mail.gmail.com> <462F5D64.4020105@dial.pipex.com> <20070425200521.GD81828@demeter.hydra> <20070425203042.GA70703@oberon.njm.f2s.com> <20070425204730.GH81828@demeter.hydra> <20070425210305.GB70703@oberon.njm.f2s.com> <20070425211459.GA82525@demeter.hydra> <20070425213852.GC70703@oberon.njm.f2s.com> <20070425214749.GB82659@demeter.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 25, 2007 at 03:47:49PM -0600, Chad Perrin wrote:
> On Wed, Apr 25, 2007 at 10:38:52PM +0100, N.J. Mann wrote:
> >#
> > Right.  In an earlier message you mentioned mutt and procmail, so
> > here
> > is a procmail/mutt solution.  First off write a procmail recipe
> > that
> > matches the mail list(s) you wish to "flag".  In the action line
> > of said
> > recipe use formail to add the header X-Status.  Configure mutt to
> > "high
> > light" message which contain the X-Status header.
>#
> That's an excellent idea.  Thank you.

You don't need to add the header.  You can "highlight" using ~C, which
checks the To: or Cc: for a string.  I have tested a rule in my
.muttrc which does this:

color index red black '(~C freebsd-question)'


It seems to correctly color messages to the freebsd-questions list.

In theory, you should be able to use other mutt patterns as per
http://www.mutt.org/doc/manual/manual-4.html#ss4.2

This could allow you to search for the List-ID header and
color/highlight based upon that.

Erik




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070426044528.GA73656>