On Tue, May 17, 2011 at 02:42:03PM -0400, Tim Gray wrote:
On May 17, 2011 at 12:25 PM -0600, Aaron Toponce wrote:Or, I could just "set tw=0" for vim, and enable format:flowed in my ~/.muttrc. That would probably be the easiest route.It's unclear from your message whether or not you realize this, but setting f=f in your muttrc doesn't actually do diddly-squat to the actual formatting of your message. It just sets a header to let recipients know that the message body is expected to be f=f. I think it also does another step (space stuffing), but it does NOT add the proper trailing spaces to paragraphs which should be wrapped. That needs to occur in the editor or in a wrapping script.I hope I have the above correct.
That's correct from my experience. You need to set the header in mutt, AND make sure that the message is formatted as specified in the format=flowed RFC 3676 (short summary, a trailing space at the end of lines that you want to flow). That's because you're allowed to have fixed lines inside a format=flowed message.
I got tired of checking whether a given line ended with a space (which was chosen precisely because its prescence at the end of lines wouldn't be very noticible in clients that didn't support RFC 3676), and created a vim mail syntax plugin that puts a white underscore at the end of lines that end with a space, so I can see at a glance which lines will flow and which won't.
-- Ed Blackman
signature.txt
Description: Digital signature