Bug 258826

Summary: Arguments with spaces to the external editor are split
Product: [Applications] kmail Reporter: Patrick <true801>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.1

Description Patrick 2010-12-04 18:48:16 UTC
Version:           1.13.5 (using KDE 4.5.1) 
OS:                Linux

If I specify
gvim "+set ft=mail" -f %f
for the external editor, the argument "+set ft=mail" is split and becomes two arguments :
- "+set
- ft=mail"

Reproducible: Always




OS: Linux (i686) release 2.6.35-23-generic
Compiler: cc
Comment 1 Laurent Montel 2010-12-06 13:39:31 UTC
I confirm it.
I must look at to kmeditor.cpp
Comment 2 Laurent Montel 2012-02-10 12:20:01 UTC
Git commit c6fe964d998c5388742198606c39af9a6fde7183 by Montel Laurent.
Committed on 10/02/2012 at 13:19.
Pushed by mlaurent into branch 'master'.

Fix Bug 258826 - Arguments with spaces to the external editor are split

FIXED-IN: 4.8.1

M  +50   -12   messagecomposer/kmeditor.cpp

http://commits.kde.org/kdepim/c6fe964d998c5388742198606c39af9a6fde7183
Comment 3 Laurent Montel 2012-02-10 12:20:59 UTC
Git commit 16512ef8a16a869888db2a8a604250ef7838e37a by Montel Laurent.
Committed on 10/02/2012 at 13:19.
Pushed by mlaurent into branch 'KDE/4.8'.

Fix Bug 258826 - Arguments with spaces to the external editor are split

FIXED-IN: 4.8.1
(cherry picked from commit c6fe964d998c5388742198606c39af9a6fde7183)

M  +50   -12   messagecomposer/kmeditor.cpp

http://commits.kde.org/kdepim/16512ef8a16a869888db2a8a604250ef7838e37a