On Friday, October 11, 2013 11:12:43 AM UTC-5, [email protected] wrote: > Thanks Ben, you were right. I need to triple check my work sometimes when > it's late. I think I was convinced that the ELSE block was wrong (and > therefore causing the problem), but it actually seems to be working somehow. > Sorry for posting twice. > > By the way, I am running vim with default settings and files (including > _vimrc). I don't have "diff.exe" anywhere else except the one that comes with > vim. > > FYI > &sh = C:\WINDOWS\system32\cmd.exe (so "if &sh =~ '\<cmd'" should match, which > it does) > > cmd (IF) = ""C:\Program Files\Vim\vim74\diff" (apparently causing the problem) > > cmd (ELSE) = C:\Program" Files\Vim\vim74\diff" (this -looks- like it should > fail with that quote in the middle after Program, but works somehow).
That's because cmd.exe quoting is "special". With the new default settings in Vim 7.4, the correct command should be simply and intuitively: "C:\Program Files\Vim\vim74\diff" -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
