comparison runtime/doc/quickfix.txt @ 5690:40f18a1c1592 v7.4.191

updated for version 7.4.191 Problem: Escaping a file name for shell commands can't be done without a function. Solution: Add the :S file name modifier.
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Feb 2014 23:39:13 +0100
parents 359743c1f59a
children 657ade71d395
comparison
equal deleted inserted replaced
5689:41fa1a18bc2e 5690:40f18a1c1592
836 836
837 Unfortunately, there is no standard way to run the tests. 837 Unfortunately, there is no standard way to run the tests.
838 The alltests.py script seems to be used quite often, that's all. 838 The alltests.py script seems to be used quite often, that's all.
839 Useful values for the 'makeprg' options therefore are: 839 Useful values for the 'makeprg' options therefore are:
840 setlocal makeprg=./alltests.py " Run a testsuite 840 setlocal makeprg=./alltests.py " Run a testsuite
841 setlocal makeprg=python % " Run a single testcase 841 setlocal makeprg=python\ %:S " Run a single testcase
842 842
843 Also see http://vim.sourceforge.net/tip_view.php?tip_id=280. 843 Also see http://vim.sourceforge.net/tip_view.php?tip_id=280.
844 844
845 845
846 TEX COMPILER *compiler-tex* 846 TEX COMPILER *compiler-tex*
1330 :setl efm=%A%f:%l:\ %m,%+Z%p^,%+C%.%#,%-G%.%# 1330 :setl efm=%A%f:%l:\ %m,%+Z%p^,%+C%.%#,%-G%.%#
1331 < 1331 <
1332 Here is an alternative from Michael F. Lamb for Unix that filters the errors 1332 Here is an alternative from Michael F. Lamb for Unix that filters the errors
1333 first: > 1333 first: >
1334 :setl errorformat=%Z%f:%l:\ %m,%A%p^,%-G%*[^sl]%.%# 1334 :setl errorformat=%Z%f:%l:\ %m,%A%p^,%-G%*[^sl]%.%#
1335 :setl makeprg=javac\ %\ 2>&1\ \\\|\ vim-javac-filter 1335 :setl makeprg=javac\ %:S\ 2>&1\ \\\|\ vim-javac-filter
1336 1336
1337 You need to put the following in "vim-javac-filter" somewhere in your path 1337 You need to put the following in "vim-javac-filter" somewhere in your path
1338 (e.g., in ~/bin) and make it executable: > 1338 (e.g., in ~/bin) and make it executable: >
1339 #!/bin/sed -f 1339 #!/bin/sed -f
1340 /\^$/s/\t/\ /g;/:[0-9]\+:/{h;d};/^[ \t]*\^/G; 1340 /\^$/s/\t/\ /g;/:[0-9]\+:/{h;d};/^[ \t]*\^/G;