Hi,

* Robert Wagner [05/19/02 11:14:52 CEST] wrote:
> how can I change the Subject shown in the browser? Since e.g. the mails
> coming from certain mailing lists are put in a dedicated folder by
> procmail, I do not need the preceeding string "[mailing list blah]" in 
> the Subject to identify them. I'd rather like to read some more
> characters of the subject itself ;-)

A few days ago there was a discussion right here about exactly
the same topic. You already use procmail? Good, then let
procmail remove it.

> Therefore I'd like to apply a hook such that the mutt browser removes
> patterns like ^\[(.+)\] from the Subject line before displaying them in
> the browser for certain folders. 

It's not a good idea to remove ^\[(.+)\]. I suggest to look at
the listname and remove all appearances of

  [[]listname[]][[:space:]]?
  
(note: no ^) since it will also repair broken subjects like:

  [list] Re: [list] Subject

to

  Re: Subject


HTH,

Cheers, Rocco.

Reply via email to