Change Reply-Style in KMAIL

Change Reply-Style in KMail

The default in kmail's reply is to open the composer with the quoted text on top and the cursor at the second line.

On Sunday 19 June 2005 21:01, you wrote:
/cursorpos/>  Hello Burt!
> How are you? ...
> ....

I prefer it to be like this.

/cursorpos/

On Sunday 19 June 2005 21:01, you wrote:
>  Hello Burt!
> How are you? ...
> ....

To do this I prepared a patch to the current kdepim3.4.1 package:

--- kmail/kmcomposewin.cpp      2005-05-23 14:11:54.000000000 +0200
+++ kmail/kmcomposewin.cpp      2005-06-20 10:53:56.000000000 +0200
@@ -4195,8 +4195,10 @@
 void KMComposeWin::setReplyFocus( bool hasMessage )
 {
   mEditor->setFocus();
-  if ( hasMessage )
-    mEditor->setCursorPosition( 1, 0 );
+  if ( hasMessage ) {
+    mEditor->insertLine("\n\n",0);
+    mEditor->setCursorPosition( 0, 0 );
+  }
 }

 void KMComposeWin::setFocusToSubject()

Hope that helps not only me ;-)