Monday, April 15, 2013

Rgrep not working on vim 64-bit, win7

Hi,

As a new member of the list I would like to say hi to everyone.

I experience a strange problem with 64-bit vim/gvim on 64-bit Windows 7.

When I use Rgrep on 32-bit vim build everything works perfectly fine:
:Rgrep TODO *.cpp
Quickfix opens with list of all my todos. The problem is when I use a
64-bit build of vim (I need it to have YouCompleteMe running):
Error detected while processing function
<SNR>61_RunGrepRecursive..<SNR>61_RunGrepCmd:
line 1:
E484: Can't open file C:\Users\<MyUser>\AppData\Local\Temp\VIo2E04.tmp

The temporary file is not there, the location is accessible (since it
works for 32-bit version). I have also tried to change temp location
to:
let $TMP='C:/tmp'
but the result was always the same - the error.

I have tried Haroogan's builds
(https://bitbucket.org/Haroogan/64-bit-vim-builds-for-windows-64-bit/wiki/Home)
and also compiled my own from hg a couple of hours ago with VS2012.
Both have Rgrep unusable.

I have did some debugging and looks like the error appears on the
system() call in grep.vim:407, when I copy-n-paste system()'s argument
to cmd.exe - it works as expected.

Have anyone struggled with such behavior?

Thanks,
Darek

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment