On Tue, Apr 10, 2012 at 07:10:18PM -0500, David Champion wrote:
> * On 10 Apr 2012, Michael Ludwig wrote: 
> > 
> > 28.06.11 14:08+0200 Alexander Muyla   21 [Firebird-net-provider] Consol
> > 29.06.11 01:56-0700 ven             ~  6 [Firebird-net-provider] fbdata
> > 30.06.11 19:40+0000 Nataniel (JIRA)   98 [Firebird-net-provider] [FB-Tr
> > 
> > Does anyone know of a why to hide those tags short of editing the source?
[...]
> Examples of subjectx commands I've used:
> subjectrx '^(re: *)?\[[^]]*\] *' '%1%R'
> subjectrx '\[nsit-rt #[0-9]+\] *' '%L%R'
> subjectrx '\[nsit-[^\0-9]*\]:? *' '%L%R'
> subjectrx '\[servicedesk #([0-9]+)\] ([^.]+)\.([^.]+) - 
> (new|open|pending|update) - ' '%L[#%1] %R'
> 
> The advantage of this solution is that it affects only how the message
> is displayed in the pager, so the people who set up the mailing list to
> expect these [list tags] still get them back from you when you reply.

I have something similar in that I patched mutt to call a Lua function
to filter subject lines (the function receives marshalled envelope
data from mutt and returns a string subject line to display).  As with
the above it only affects how the line is displayed, and so replies
still get sent with the original line.  I actually use it to *add*
bracketed tags to subject lines, for example marking messages from
certain senders/lists or those addressed to non-existent users on my
mail server.

                                        -Dave Dodge/dodo...@dododge.net

Reply via email to