mutt/2842: reply_regexp set in muttrc and during mutt session have different effects
>Number: 2842
>Notify-List: gautam@xxxxxxxxxxxxxxxxx
>Category: mutt
>Synopsis: reply_regexp set in muttrc and during mutt session have
>different effects
>Confidential: no
>Severity: normal
>Priority: medium
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 13 02:41:34 +0100 2007
>Originator: Gautam Iyer
>Release: 1.5.13 on Gentoo
>Organization:
>Environment:
Gentoo Linux
>Description:
When reply_regexp is set to "^re: *" in ~/.mutt/muttrc, the subject generated
when replying to emails has one extra space. When reply_regexp is changed
during a mutt session, and then changed back to the original value set, the
extra space goes away.
>How-To-Repeat:
Put
set reply_regexp='^re: *'
in ~/.muttrc. Then load mutt. Reply to a message whos subject begins with
"Re:". The subject of the new message will be like "Re: Original subject"
(note the extra space).
Now do
:set reply_regexp='asdf'
:set reply_regexp='^re: *'
and reply to the same message you replied to earlier. The extra space
dissapears, and the subject of the new message is "Re: Original subject" as it
should be.
>Fix:
Unknown
>Add-To-Audit-Trail:
>Unformatted: