Bug 46492 - quoting longer lines messed up
Summary: quoting longer lines messed up
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: 1.4.2
Platform: Compiled Sources All
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-14 15:33 UTC by mi+kde
Modified: 2012-08-19 01:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mi+kde 2002-08-14 15:20:12 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4.2 (using KDE 3.0.2 )
Severity:          normal
Installed from:    compiled sources
Compiler:          Using built-in specs.
OS:                FreeBSD (i386) release 5.0-CURRENT
OS/Compiler notes: 

When preparing the quoted text for a reply KMail messes up paragraphs
containing longer lines -- which it
wants to wrap around:

= =
= = I'm trying to find someone who sells systems (or at least just the =
= mainboards) based on your GC-WS and can not :-\ Could you = suggest some
= manufacturers? Thanks! =

(My quoting string is ``='' which
BTW KMail insists on turning into ``= '')

IMO KMail should not do such wrapping
leaving the problem to the user and his/her
handy par(1) program or implement an
algorith similar to par(1) to indent
the quoted text and then wrap the lines
around.

Thanks!

-mi

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Waldo Bastian 2002-08-14 17:14:32 UTC
On Wednesday 14 August 2002 08:20 am mi+kde@aldan.algebra.com wrote:
> Package: kmail
> Version: 1.4.2 (using KDE 3.0.2 )
> Severity: normal
> Installed from:    compiled sources
> Compiler:          Using built-in specs.
> OS:                FreeBSD (i386) release 5.0-CURRENT
> OS/Compiler notes:
>
> When preparing the quoted text for a reply KMail messes up paragraphs
> containing longer lines -- which it
> wants to wrap around:
>
> =3D =3D
> =3D =3D I'm trying to find someone who sells systems (or at least just t=
he =3D
> =3D mainboards) based on your GC-WS and can not :-\ Could you =3D suggest=
 some
> =3D manufacturers? Thanks! =3D
>
> (My quoting string is ``=3D'' which
> BTW KMail insists on turning into ``=3D '')
>
> IMO KMail should not do such wrapping
> leaving the problem to the user and his/her
> handy par(1) program or implement an
> algorith similar to par(1) to indent
> the quoted text and then wrap the lines
> around.

It does so for commonly used quote characters such as '|' and '>' but '=3D'=
 is=20
not among them. This is part of the "Smart Quoting" feature. Maybe turning =
it=20
off helps in your case.

Cheers
Waldo
--=20
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com
Comment 2 mi+kde 2002-08-14 19:14:33 UTC
On Wednesday 14 August 2002 01:14 pm Waldo Bastian wrote:
= > (My quoting string is ``='' which
= > BTW KMail insists on turning into ``= '')

What about this "sub-problem"?

= > IMO KMail should not do such wrapping leaving the problem to the
= > user and his/her handy par(1) program or implement an algorith
= > similar to par(1) to indent the quoted text and then wrap the lines
= > around.
=
= It does so for commonly used quote characters such as '|' and '>' but

Well par is looking for a common prefix (and suffix) in all lines in a
paragraph.

http://www.cs.berkeley.edu/~amc/Par/

It is a very handy fmt(1) replacement. Perhaps the "Smart Quoting" can
be rewritten based on it?

= '=' is not among them. This is part of the "Smart Quoting" feature.
= Maybe turning it off helps in your case.

Why does not it automatically add the user's quote string (not
necessarily a single character) to the set?

Yours

-mi

-- 
ëÃà ÷à ÃÃÃÃà ÃÃà ÃÃÃÃà ÃÃÃÃÃÃ?
Comment 3 Ingo Klöcker 2002-08-14 20:19:19 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 14 August 2002 21:14 Mikhail Teterin wrote:
> On Wednesday 14 August 2002 01:14 pm Waldo Bastian wrote:
> =3D > (My quoting string is ``=3D'' which
> =3D > BTW KMail insists on turning into ``=3D '')
>
> What about this "sub-problem"?

"> On Wednesday..." looks much better than ">On Wednesday..." don't you=20
think?

> Well par is looking for a common prefix (and suffix) in all lines in
> a paragraph.
>
> http://www.cs.berkeley.edu/~amc/Par/
>
> It is a very handy fmt(1) replacement. Perhaps the "Smart Quoting"
> can be rewritten based on it?

Go ahead.

> =3D '=3D' is not among them. This is part of the "Smart Quoting" feature.
> =3D Maybe turning it off helps in your case.
>
> Why does not it automatically add the user's quote string (not
> necessarily a single character) to the set?

Because AFAICS the quote string isn't configurable in KMail. But maybe=20
I'm blind.

Regards
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9WrtNGnR+RTDgudgRAuw+AKCv4MwgaWQCaan0abKwnF6NkZJSVwCghpqP
3EOhnbWaYNPfDpQVAtClEjI=3D
=3D0utk
-----END PGP SIGNATURE-----
Comment 4 Mikhail Teterin 2002-08-15 14:37:10 UTC
On Wednesday 14 August 2002 04:19 pm Ingo Kl?cker wrote:
= On Wednesday 14 August 2002 21:14 Mikhail Teterin wrote:
= > On Wednesday 14 August 2002 01:14 pm Waldo Bastian wrote:
= > = > (My quoting string is ``='' which BTW KMail insists on
= > = > turning into ``= '')
= >
= > What about this "sub-problem"?
=
= "> On Wednesday..." looks much better than ">On Wednesday..." don't
= you think?

Never mind -- pilot error. I left the explicit space there myself --
after replacing ``>'' for the ``='' -- and forgot about it.

= > Well par is looking for a common prefix (and suffix) in all lines
= > in a paragraph.
= >
= > http://www.cs.berkeley.edu/~amc/Par/
= >
= > It is a very handy fmt(1) replacement. Perhaps the "Smart Quoting"
= > can be rewritten based on it?
=
= Go ahead.

Thanks but I am a C and Tcl programmer... :-)

= > = '=' is not among them. This is part of the "Smart Quoting" feature.
= > = Maybe turning it off helps in your case.
= >
= > Why does not it automatically add the user's quote string (not
= > necessarily a single character) to the set?
=
= Because AFAICS the quote string isn't configurable in KMail. But maybe
= I'm blind.

Settings->Configure Kmail->Editor->Phrases->Quote Symbol

(the exact words may differ because my interface is in Ukrainian :-)

Yours

-mi

= Regards
= Ingo
Comment 5 Amit Shah 2003-02-10 08:46:14 UTC
If a phrase, such as %f is used to quote replies, the line wrapping goes for a toss. I've 
observed this with 3.1. The reply contains something like: 
 
CS> Hello all! 
CS> 
CS> I wonder, is there a new version that would migrate shared-memory 
 programs CS> such as Mysql, Apache, Sendmail, etc? 
CS> 
 
 
Comment 6 Christof Schulze 2009-04-27 11:49:46 UTC
this is still valid.
Even worse quoting seems to depend on window size.
If I reply to a message with long lines and send my reply while the current window layout causes lines to be wrapped, they are wrapped like that in the mail also.
Comment 7 Christof Schulze 2009-04-27 11:53:10 UTC
> "> On Wednesday..." looks much better than ">On Wednesday..." don't you=20
> think?
you are right on this specific example yet quoting
"> On Wednesday" multiple times should not look like 
"> > > > > On Wednesday" but like ">>>>> On Wednesday" as it conserves space and helps readability
Comment 8 Myriam Schweingruber 2012-08-18 08:42:51 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 9 Luigi Toscano 2012-08-19 01:09:02 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.