Bug 79144 - selective (paragraph-wise) word wrap
Summary: selective (paragraph-wise) word wrap
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Unmaintained
Component: composer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 137030 171268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-06 00:02 UTC by Marcin Kasperski
Modified: 2012-08-20 23:31 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kasperski 2004-04-06 00:02:59 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources

In short: I would like to disable word-wrapping for the single line, keeping it for the rest of the edited mail.

Longer: let's imagine I write the mail like:

Some normal long sentence with introduction or sth similar. Just more words. Just more words. Just more words.

  something not to wrap (say long url, code quote, ...)

Normal sentences again.

It is really nice to disable word wrapping for the cited url/code/name but keep it on for the rest of the mail.

I like very much the solution applied by Ximian Evolution: I can just select 'Normal' format for the whole mail and 'Preformat' for the line/lines I want to keep - the setting whether to word-wrap is paragraph-level, not whole email-level. So I just write the first paragraph normally, then make empty line to separate paragraph, then I select 'Preformat' for the long line, then make empty line, then select 'Normal' again and write the rest of the mail.

In kmail, if I need to have single line preformatted, I must manually line-break the whole mail.
Comment 1 Marcin Kasperski 2004-04-06 00:14:50 UTC
Maybe additional note: the point of this bug is to enable setting word-wrap for each paragraph separately (of course with some natural logic like defaulting next paragraph to the setting of the previous one and remembering each paragraph setting at least while editing and maybe also when saved to drafts). I am not recommending evolution UI as the best one (in fact, maybe just adding 'Word wrap this paragraph' with checkbox to the right-click menu would be simpler or maybe someone will invent something better).
Comment 2 Jesse Barnes 2005-11-14 20:34:35 UTC
Another common case this would address is inlining a patch in an email.  People sending patches back and forth typically want their email text to be word wrapped (as happens now), but have their patch be inserted completely unchanged at the end of the mail.

Inlining a patch can be really useful, especially for development mailing lists (in particular linux-kernel).  If the inlined patch isn't word wrapped or changed in any other way (e.g. some mail clients will replace tabs with spaces for some stupid reason), developers receiving the patch can apply it directly to their local sources to try it out.

Several Linux kernel developers use kmail, but have to attach patches since kmail has no way of controlling word wrapping of regular mail text vs. patch text, making it difficult for other developers to comment on the patches in a nicely composed reply (the replier has to cut & paste from the attachment into the reply to quote code they'd like to comment on).

Even a "don't word wrap after this point" would be a huge improvement over what we have now.
Comment 3 Bram Schoenmakers 2007-03-25 23:34:23 UTC
*** Bug 137030 has been marked as a duplicate of this bug. ***
Comment 4 Andras Georgy Bekes 2007-03-25 23:40:18 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Thomas McGuire 2008-09-18 18:59:28 UTC
*** Bug 171268 has been marked as a duplicate of this bug. ***
Comment 6 Janet 2010-03-07 14:09:47 UTC
Might it be possible to exclude lines containing http:// from being word-wrapped? To keep the line as one from http:// until there is a space? This still is a problem in KMail 1.13/KDE4.
Comment 7 Myriam Schweingruber 2012-08-18 07:52:09 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 8 Luigi Toscano 2012-08-19 00:54:02 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.