Re: [Mutt] #2995: Mutt is folding subject line folds using a tab,
#2995: Mutt is folding subject line folds using a tab, which appears to be
against
RFC 2822
----------------------+-----------------------------------------------------
Reporter: frnkblk | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone: 1.6
Component: mutt | Version: 1.5.17
Resolution: | Keywords: header folding white-space
----------------------+-----------------------------------------------------
Comment(by Rocco Rutte):
{{{
Hi,
* Mutt wrote:
ACK. The algorithm to me seems quite simple and clear (simply insert
CRLF before the word that would make line too long, just as you
described) which is why I don't understand why the function is that
complicated in the first place. Whenever I stumble about code that seems
to complicated for me, I assume it's there for a reason.
ACK. I still hesitate to touch it because automated testing is hard in
mutt's current state. Sure, the current code is broken but a solution
should be well-tested before it appears in some official release.
ACK. See #2956, iswspace()/isspace() is another bigger issue that needs
to be solved. I vote for simply testing for the characters in question
since the allowed tokens are defined formally.
ACK.
Sure, just go ahead... :) Any help in this area is highly appreciated.
Yes, combined with a flag for display/sending mail.
Rocco
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2995#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent