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

Re: Removing national 'Re:' fields from subject



On Mon, Sep 05, 2005 at 10:30:21AM +0200, Hendrik Mangels wrote:
> Per Carlson (2005-09-05, 10:26):
> > is there a (easy) way to tell mutt which character sequences
> > to be treated as 'Re:'? or do you have to resort to hooks and
> > regexp search/replaces?
> 
> http://www.mutt.org/doc/devel/manual/manual-6.html#reply_regexp

changing the reply_regexp did somewhat remedy the problem, but not
fully. i have added the annoying strings to the regexp:

reply_regexp="^(re([[0-9]+])*|aw|ad|sv):[ ?]*"

this works perfectly when someone replies to a mail the very first time
(subject reads e.g. "Ad: <subject>"). when replying that mail, mutt
correctly changed the subject to "Re: <subject>". 

the problem occurs when the person with the malfunctioning mailreader
replies again. the subject will than be "Ad: Re: <subject>", which will
be changed to "Re: Re: <subject>" by mutt.

it is the subject expansion i would like to get rid of.

i would be much more happy if mutt recognized the strings defined by
reply_regexp to be *valid* reply strings, and thus not try to add
"Re:" (or change it to "Re:").

is this possible is a simple way, or does it require some clever hooks?

-- 

Regards, Per Carlson

Actors will happen even in the best-regulated families.