Bug 206048 - kate %URLS macro does not resolve to urls
Summary: kate %URLS macro does not resolve to urls
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 22:29 UTC by Tomek
Modified: 2009-09-04 22:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomek 2009-09-02 22:29:28 UTC
Version:           kate 3.2.4 on Kde 4.2.4 (using KDE 4.2.4)
Compiler:          gcc-4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

Task: Compare two saved and currently opened files via external tool. External tool should launch kompare with previously mentioned files as arguments (in ex. kompare $file1 $file2)

according to
The Kate Handbook
Anders Lund
Seth Rothberg
Dominik Haumann
Revision 3.1.1 (2008-09-03)

%URLS macro should resolve itself to list of space separated urls to saved currently opened files, in ex. (as I understand it) file:///tmp/file1.txt file:///tmp/file2.txt

Plan/how to reproduce: Create external tool with fields filled as follows:

label: kompare
script: kompare %URLS 
exacutable: kompare
Mime types :   // blank
save:   //blank
command line name: kompare

Expected behaviour: 

while having 2 saved files opened and selecting 'kompare' external tool, kompare is launched with arguments representing those files.

What is wrong?

%URLS macro is not resolved. Instead when I select my created external tool, kompare is launched but returns error: 

The URL file:///home/tlisiecki/%25URLS does not exist on your system.

I also tried kompare "%URLS", kompare %urls, kompare "%urls" but still no luck


Loaded plugins: 
-Terminal tool
-find in files tool view
-external tools

I also checked %URL macro which should give url to currently edited file, and it worked ok
The script was : script: kompare %URL /tmp/xorg.conf, where %URL was resolved to file:///etc/X11/xorg.conf
Comment 1 Pascal Létourneau 2009-09-04 22:14:00 UTC
SVN commit 1019934 by pletourn:

Fix typo
BUG:206048


 M  +1 -1      configuring.docbook  


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