There is a problem with all of “%” expansions in bang commands: you can’t use 
them (reliably ≡ at all) as there is no way to be sure filename will be passed 
as one argument without any modifications (e.g. parameter expansions performed 
by shell). Adding “%:E” filename modifier will make it possible to turn 
constructs like

    :execute '!command '.shellescape(expand('%:r'), 1)

into just

    :!command %:r:E
.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui