On Sun 24, Jan'10 at 12:34 AM -0200, Caio Chassot wrote:
How about de-wrapping incoming wrapped mail? Is it even consistently possible, or are wrap breaks indistinguishable from real breaks when the real break occurs near column 80?

format=flowed does essentially this. If a client does it properly (and says it's doing it in the headers) then what happens is the text is hard wrapped at 80 spaces at the time of sending BUT a space is appended to the end of each line where wrapping is supposed to occur. So clients that can't interpret f=f just see hard wrapped text. Clients which understand it can string together the lines that make a paragraph and reformat it.


If it's not f=f text, then I don't think you want to get into reflowing it, because of things like pre-formatted lists, like:
- one
- two
- three
You wouldn't want to rewrap that. You also wouldn't want to rewrap or space the list above from the text before and after it, because I didn't want the formatting that way. So the token for rewrapping is a space at the end of a line followed by another line of text.

f=f also works with quoting, if the code works like it should.

I'll add an f=f link to the git wiki.
_______________________________________________
[email protected] mailing list
List help: http://lists.ranchero.com/listinfo.cgi/email-init-ranchero.com

Reply via email to