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

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

Changes (by brendan):

  * priority:  major => minor

Comment:

 That subroutine is horrifying, but I believe the line in question is near
 the bottom of mutt_write_one_header:
 {{{
         cp = &cp[n];
 }}
 This advances the parser to the character _after_ the whitespace break
 character, after flushing the first line. So the logic at the top of the
 loop to pad only when necessary is never triggered.

 I get the willies every time I think about editing this function though.
 To make matters worse, I think it's shared between the display code and
 the sending code. It would be good to tab-indent on the display side when
 the header wraps past the window, and to simply insert CRs on the sending
 side.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2995#comment:10>