<<< Date Index >>>     <<< Thread Index >>>

Re: mutt removing stuff in brackets from subject



++ 18/06/09 14:23 +0200 - Rocco Rutte:
>> I see. I expected mutt to use this regular expression to determine 
>> whether it should prepand the current subject with "Re: " or that it 
>> should leave it intact (if there is a match) - instead of removing 
>> whatever is matched and replacing it. 
>
>That has the potential to produce a horrible mess like:
>
>  Re: Aw: Re: ...
>
>that is unreadable.

It's not really relevant, but I disagree. If the behaviour would be like 
I said above, mutt won't make things worse. If the regular expression 
matched both "Re:" and "Aw:" and otehr variations, then mutt would 
recognize the subject is already prepended and would not touch the 
subject to do it again. 

So, if subject is "Example", it would be prepended with "Re:" and if the 
subject is something like "Re: Example" or even "Re: Aw: Re: Example" 
(which both would match the given regular expression) it would leave the 
subject alone. As a result, mutt would never create a mess like "Re: Aw: 
Re:" - but it would leave it that way if it's there already.


-- 
Rejo Zenger . <rejo@xxxxxxxxx> . 0x75FC50F3 . <https://rejo.zenger.nl>
GPG encrypted e-mail prefered. 

Attachment: signature.asc
Description: Digital signature