On Thu, Nov 6, 2008 at 12:58 PM, Ben Fritz <[EMAIL PROTECTED]> wrote:
>
> On Nov 4, 3:08 pm, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>>
...
> Plugins are another question though. For testing, I placed my proposed
> values of shellxquote and shellcmdflag in my vimrc, and immediately
> broke the TagList plugin.
>
> This seems to be caused by a bug in TagList, actually. I don't think
> the following code is needed, and it is the root of the bug. But, I'm
> not actually sure what the intent of it is:
>
>    if &shellxquote == '"'
>        " Double-quotes within double-quotes will not work in the
>        " command-line.If the 'shellxquote' option is set to double-
> quotes,
>        " then escape the double-quotes in the ctags command-line.
>        let ctags_cmd = escape(ctags_cmd, '"')
>    endif
>
> Later (in Windows), Taglist writes ctags_cmd to a temporary batch file
> and executes the batch file with system().

I am the one who supplied the code to Yegappan to create the ctags_cmd file.

This is not just affecting Vim, it seems cmd.exe will not execute
commands with more than 1 set of double quotes.  I guess you are
saying above, you can by simply doubling up the first and the last.

Gee, I wish I had figured that our earlier.  I have had to do the old
cmd file for several different projects (unrelated to Vim).

Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui