#3135: cannot stop header wrap/folding; wrapping ignores user $wrap setting ----------------------+----------------------------------------------------- Reporter: idallen | Owner: pdmef Type: defect | Status: started Priority: minor | Milestone: 1.6 Component: mutt | Version: 1.5.18 Resolution: | Keywords: wrap header fold folding terminal width ----------------------+-----------------------------------------------------
Comment(by pdmef): I've updated the patch to fix recognition of $wrap. A setting of 0 now means $wrap=COLS, i.e. wrap at terminal width. Note that $wrap only works (and should) for the display case, which it hopefully now does. For the sending case you can't disable wrapping. Mutt is just following standards (see RfC2822, sect. 2.1.1, Line Length Limits) which recommends using at most 78 chars plus CRLF... which is what mutt is doing. The same counts for headers rendered for inline forwarding. When receiving messages, mutt assumes that most information is made pretty by the sender so the recipient can painlessly view it. Headers that are folded and whose lines are shorter then $wrap are printed as-is, there's no need to unfold them and print them using $wrap -- wrapping takes place only for lines that are longer than $wrap. Again, only for the display case. You don't have much influence for the sending case. -- Ticket URL: <http://dev.mutt.org/trac/ticket/3135#comment:9> Mutt <http://www.mutt.org/> The Mutt mail user agent