GNOME Bugzilla – Bug 790632
Option to visually wrap long lines in composer
Last modified: 2017-12-04 16:04:29 UTC
It would be useful to have an option where normal paragraph style can be used for plain text messages, so that while editing a message, long lines wrap in the composer window, but the message is actually sent out without wrapping the lines. This would essentially override "Number of characters for word wrapping" option. An example of a mail client that does something like this is K9 Mail for Android. While composing a message, the composer window wraps to the window size, dynamically. Once the message is sent (in plain text), the lines are kept as is are are not wrapped at all. PS. This bug is a continuation of a conversation between Milan and myself off list.
Created attachment 364075 [details] An example email sent from K9 Mail, lines not wrapped, plain text
Created attachment 364076 [details] Source of the email sent from K9 Mail
Thanks for a bug report. That may touch only Preformatted paragraph format, which should use either style "white-space: pre-wrap;" or no "white-space" style. The Normal in plain text mode wraps on 71 characters (by default) and in HTML mode doesn't wrap at all, which, in HTML mode, wraps on the composer width. The other formats are also "boring" for this visual wrapping.
Can be found in View->Visually wrap long lines. I'm wondering how much confusing it'll be with quoted text with long lines, but let's leave it for later (I would cover it too, but I do not know what it should do). Created commit e9e5c2106d in evo master (3.27.3+)