[Bug 306456] Feature Request: Some help in using the RegExps in ReplyPrefixes/ForwardPrefixes

2012-09-11 Thread Jonas.Bechtel
https://bugs.kde.org/show_bug.cgi?id=306456

--- Comment #2 from jonas.bech...@web.de ---
I add an example how the configuration dialog could look like. The idea behind
this is that you can follow on other's mail prefix (but only for particular
prefixes) so the other one's mail program doesn't see at all the trouble it
produces with it's strange prefixes.

The auto detection I refer to is meant the following way: When you receive a
message with an In-Reply-To: header field and this message referred to is
present in your database you can compare the subject you sent and the subject
the other one gave you and automatically get new prefixes. Maybe there could be
a dialog which asks weather you want to add that prefix to your prefix
recognition?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 306456] Feature Request: Some help in using the RegExps in ReplyPrefixes/ForwardPrefixes

2012-09-11 Thread Jonas.Bechtel
https://bugs.kde.org/show_bug.cgi?id=306456

--- Comment #3 from jonas.bech...@web.de ---
Created attachment 73843
  -- https://bugs.kde.org/attachment.cgi?id=73843action=edit
Prefix configuration dialog as it may look

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 306456] Feature Request: Some help in using the RegExps in ReplyPrefixes/ForwardPrefixes

2012-09-09 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=306456

Laurent Montel mon...@kde.org changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #1 from Laurent Montel mon...@kde.org ---
QString replacePrefixes( const QString str, const QStringList prefixRegExps,
 bool replace, const QString newPrefix )
{
  bool recognized = false;
  // construct a big regexp that
  // 1. is anchored to the beginning of str (sans whitespace)
  // 2. matches at least one of the part regexps in prefixRegExps
  QString bigRegExp = QString::fromLatin1(^(?:\\s+|(?:%1))+\\s*)
  .arg( prefixRegExps.join(QString::fromLatin1()|(?:)) );

I don't know what is the real problem ? and the improvement ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs