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

Re: mutt removing stuff in brackets from subject



* On Wed, Jun 17, 2009 09:47AM +0200 Rejo Zenger (mutt-users@xxxxxxxxxxxxxxx) 
muttered:
> ++ 16/06/09 19:51 +0200 - Michael Tatge:
> >> When I respond to an email that has a subject similar to:
> >> 
> >> [StuffHere] Blah Blah Blah
> >> 
> >> Mutt actually *removes* everything inside of the brackets and the
> >> brackets themselves.
> >> 
> >> Any thoughts on why this happens?
> >
> >Works fine here. There is a setting that might be resposible though.
> >Check reply_regexp
> 
> Correct me if I'm wrong, but I don't think that particular setting would 
> remove a thing form the subject. The manual says:
> 
>   A regular expression used to recognize reply messages when threading 
>   and replying.
    ^^^^^^^^^^^^^

> As far as I know, this setting makes it possible for mutt to recognize 
> patters like "Re:" and "re:" at the beginning of a Subject and, if 
> present, mutt will not prepend the subject with another "Re:" when 
> replying. 

Yes it will remove something. As you quoted reply_regexp is also used
when replying.
Mutt will match $reply_regexp match against the subject and replace
everything matching (at the start of the string) with just "Re: "
Say you get a message with the subject "Aw: test" and reply to it. You
get with the default reply_regexp "Re: test".

HTH,

Michael
-- 
Checking host system type...
i586-unknown-linux
configure: error: sorry, this is the gnu os, not linux
                -- Topic on #Linux

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de