On Wed, Feb 15, 2012 at 12:36 PM, Andy Wokula <[email protected]> wrote:
>> So you're saying, we must escape all special characters, INCLUDING
>> QUOTES, and surround in parentheses?
>
>
> Yes, including quotes!
>
>> That's...special.
>
>
> But solves all problems so far.

Yes, but that doesn't mean I need to like it :-P

Bram, you said at one point you don't want to start escaping things.
Specifically, you wrote:

> A command may intentionally use & and | to separate commands.  Always
> escaping them will break this intentional use.

It looks like using parentheses and always escaping everything
(including quotes) allows the intentional use to work. What do you
think of this? If it is an acceptable solution, how should we
accomplish the "always escaping"? Should Vim automatically escape & <
> ( ) @ ^ | and " whenever shell is cmd.exe and shellxquote is ( ? Or
should we add a new option (set by default)?

-- 
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