#3857: lines starting with a whitespace are not wrapped at a word boundary (though $smart_wrap is set) ----------------------+---------------------- Reporter: vinc17 | Owner: mutt-dev Type: defect | Status: closed Priority: minor | Milestone: Component: display | Version: 1.6.1 Resolution: fixed | Keywords: ----------------------+---------------------- Changes (by Kevin McCarthy <kevin@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"4240966d41fc3c17f41d2c2815970ae52c4ce8a1" 7182:4240966d41fc]: {{{ #!CommitTicketReference repository="" revision="4240966d41fc3c17f41d2c2815970ae52c4ce8a1" Fix $smart_wrap to not be disabled by whitespace-prefixed lines. (closes #3857) changeset:737102af74eb fixed a folded header display issue with $smart_wrap by disabling $smart_wrap for lines beginning with whitespace. Unfortunately, this turns off smart wrapping in the body of an email too, even when the line has other whitespace breaks in it. An earlier commit, changeset:125076e0fdfa added an infinite loop fix when MUTT_PAGER_NSKIP is set, by disabling the smart_wrap if the space backtracking went to the beginning of the line. That is, a line beginning with 1+ whitespace followed by a single long word. Extend this second commit by always disabling the smart_wrap in that case, not just when MUTT_PAGER_NSKIP is set. This also solves the folded header issue without other side effects. }}} -- Ticket URL: <https://dev.mutt.org/trac/ticket/3857#comment:7> Mutt <http://www.mutt.org/> The Mutt mail user agent