Hide [bracketed topic indicators] such as prepended by mailing lists
Some mailing list software prepends a [tag] to every subject line of every message. I realize people may find this practical; see this thread for an example: 07.03.12 16:31+0100 Marco Paolone 35 Mailing list and subject prefix 07.03.12 15:40+ Chris Green 12 ├─ 07.03.12 09:21-0800 Gary Johnson 13 ├─ 08.03.12 09:27+0100 Remco Rijnders49 ├─ 11.03.12 14:07+0100 Marco Paolone 20 └─ On the other hand, you may also find it impractical with an index view such as above when on an 80 column terminal when the tag is a bit longer, like here: 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+ Nataniel (JIRA) 98 [Firebird-net-provider] [FB-Tr Does anyone know of a why to hide those tags short of editing the source? -- Michael Ludwig
Re: Hide [bracketed topic indicators] such as prepended by mailing lists
Michael Ludwig schrieb am 11.04.2012 um 00:16 (+0200): Some mailing list software prepends a [tag] to every subject line of every message. I realize people may find this practical; see this thread for an example: 07.03.12 16:31+0100 Marco Paolone 35 Mailing list and subject prefix 07.03.12 15:40+ Chris Green 12 ├─ I meant to include this doc pointer, just for reference: http://durak.org/sean/pubs/software/mutt/reference.html#index-format %ssubject of the message -- Michael Ludwig
Re: Hide [bracketed topic indicators] such as prepended by mailing lists
* 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+ 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