* 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?

I used to strip them out in procmail, but that sometimes causes problems
in the list manager software when I reply.  I've since edited the
source, and I find this a much more compete solution.  There are two
patches and some muttrc configuration:

https://bitbucket.org/dgc/mutt-dgc/raw/tip/replacelist
https://bitbucket.org/dgc/mutt-dgc/raw/tip/subjectrx

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.

-- 
David Champion • d...@uchicago.edu • IT Services • University of Chicago

Reply via email to