Michael Heydekamp wrote:
For a number of good reasons, I usually do not produce messages in "format=flowed".
Roundcube (hopefully unintentional) seems to ignore my intention, as it does display EVERY message as it would be in "format=flowed" upon reading it. Specifically: Resizing the window also leads to a line-rewrapping, which is continously adapted to the current window size.
BTW: format=flowed just is a definition that says "don't break the lines as they are wrapped in the source". And this is what Roundcube does. Without format=flowed, the line breaks from the original source are kept and lines are wrapped as intended by the author.
Your scenario only is a problem when your browser window is smaller than to fit the 80 chars of the plain text body and this is very unlikely, even on 1024 screens.
I think you're chasing ghosts here.
This breaks the display of things such as tables, charts, ASCII-Art etc., and makes them pretty unreadable. But exactly these things are the reason why I want to avoid "format=flowed". This format may make some sense if a message contains nothing but "flowing" text (but even then I find those extremely long lines difficult to read), but you can't take it for granted that a message does not contain anything else but "flowing" text.
May I request to limit this behaviour to messages which are explicitely declared as "format=flowed", but to avoid it for messages not being declared as such?
This is not that simple as I already explained to you. Many email systems produce messages without proper line breaks and without specifying format=flowed. I see mails (not sent from MUAs but other systems) which have long lines of text because lazy programmers don't understand how emails actually work. Forcing them to not being automatically wrapped by the browser would give you single-line messages with lots of horizontal scrolling.
Technically this is possible, as I just verified. ;)
Yes it is, but there are some reasons not to so. But we could start by adding some min-width: style to the message body to enforce a minimum width for the text contents. But I fear the side-effects of simply adding no-wrap for plain text parts without format=flowed.
~Thomas