Bug 48842 - passing the current line number to the external editor
Summary: passing the current line number to the external editor
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.4.3
Platform: Compiled Sources All
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-07 19:42 UTC by mi+kde
Modified: 2009-08-03 21:09 UTC (History)
0 users

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-10-07 19:42:31 UTC
Version:           1.4.3 (using KDE 3.0.3)
Installed from:    compiled sources
Compiler:          gcc version 3.2.1 [FreeBSD] 20020916 (prerelease) 
OS:          FreeBSD (i386) release 5.0-CURRENTFreeBSD (i386) release 5.0-CURRENT

Sometimes I scroll through the quoted message prepared in the
reply or forward composer. Then I start editing and my external
editor comes up with the cursor at the beginning of the file.

Many editors will accept the line number to place the cursor at
initially if given on the command line. Perhaps, this can be
supported in Kmail, so I can do something like
	``xterm -e vi %f +%l''

Thanks!

	-mi
Comment 1 Martin Koller 2009-08-03 21:09:34 UTC
SVN commit 1006446 by mkoller:

FEATURE: 48842

Allow to pass the current line number from the internal editor to
the external editor by using %l


 M  +3 -0      kmeditor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1006446