[Vim-latex-devel] (no subject)
Brought to you by:
srinathava,
tmaas
From: <naz...@no...> - 2004-12-19 01:46:54
|
Hello, I have been experiencing problems with completion under windows : windows version : XP gvim version : 6.3 latex-suite version : 1.5 I installed the grep program from the address given in the vim-latex website : http://unxutils.sourceforge.net/ and changed the windows path environment accordingly to the binaries location. However, completion would not work at all, Then, I found Ryan Krauss' post that specified that only cygwin grep program would work because it was the only one which would give the file name when given the "-H" option. I installed cygwin, changed the path again and know it seems to work OK. however, I have tried to compare the outputs given by both greps : win-version : C:\Vim>grep --version grep (GNU grep) 2.4.2 Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. C:\Vim>grep -nH if _vimrc _vimrc:6:set diffexpr=MyDiff() _vimrc:7:function MyDiff() _vimrc:9: if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif _vimrc:10: if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif _vimrc:12: if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif _vimrc:14: if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif _vimrc:16: if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif _vimrc:17: silent execute '!C:\Vim\vim63\diff ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 _vimrc:20:set guifont=Bitstream_Vera_Sans_Mono:h9:cANSI _vimrc:28:" IMPORTANT: grep will sometimes skip displaying the file name if you cygwin version : C:\Vim>grep --version grep (GNU grep) 2.5 Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. C:\Vim>grep -nH if _vimrc _vimrc:6:set diffexpr=MyDiff() _vimrc:7:function MyDiff() _vimrc:9: if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif _vimrc:10: if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif _vimrc:12: if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif _vimrc:14: if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif _vimrc:16: if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif _vimrc:17: silent execute '!C:\Vim\vim63\diff ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 _vimrc:20:set guifont=Bitstream_Vera_Sans_Mono:h9:cANSI _vimrc:28:" IMPORTANT: grep will sometimes skip displaying the file name if you The versions are different but the outputs sound exactly the same to me. So what is the difference ? Isn't there a way to avoid installing cygwin in order to have completion working ? thanks, A. Fournier P.D. I have also tried downloading the latest grep from gnuwin32 but it still doesn't work |