On Monday, August 12, 2013 1:32:17 PM UTC-5, Marcio Gil wrote: > :set diffexpr? > > diffexpr=MyDiff() > > > > then I put the line: > > echo '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq > > > > before this in the _vimrc (copied from vimrc_example.vim): > > silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . > > arg3 . eq > >
The latest vimrc_example.vim distributed with version 7.4 no longer contains the diffexpr setting. > > :vert diffsp vimrc~ > > !""C:\Program Files (x86)\Vim\vim74\diff" -a --binnary > > C:\Users\Marcio\AppData\Local\Temp\VIo4C8B.tmp > > C:\Users\Marcio\AppData\Local\Temp\VIn4C8C.tmp > > > C:\Users\Marcio\AppData\Local\Temp\VId4C8D.tmp" > > E810: Cannot read or write temp files > > E97: Cannot create diffs > > One of the changes in 7.4 compared to 7.3.0 is improving the external command handling on Windows, so that you no longer need to add extra " characters around the entire command. See the series of patches starting at 7.3.443 for details. So with your diffexpr, there are now extra quote characters. > > I just remove the MyDiff() function from _vimrc then the diff works! > > It is Ok for me, but is there a failure in the Vim instalation? Not a failure in the install, since those lines aren't in the vimrc_example file any longer. -- -- You received this message from the "vim_use" 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_use" 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.
