Re: [Vim-latex-devel] grep
Brought to you by:
srinathava,
tmaas
From: Berta M. <ber...@ar...> - 2004-06-01 12:06:50
|
On Sun, May 30, 2004 at 02:54:05PM +0200, Berta Milan wrote: > On Sat, May 29, 2004 at 11:44:35PM -0700, Srinath Avadhanula wrote: > > Could you please let me know when was the last time you downloaded > > latex-suite? If it was a while ago, try with the latest release. > > Infact try with the latest release just to make sure we are all on the > > same page. > > OK, I downloaded the (newest) version 1.5 of LaTeX-Suite. > I am using gvim 6.2 on WinXP. > > > On Sat, 29 May 2004, Berta Milan wrote: > > > > > 1) I have problem with completition, <F9>. I use grep > > > program mentioned in FAQ. I installed it, it works on > > > command-line (DOS console) from every directory in my > > > computer with path "c:\progra~1\gnuwin32\bin\grep" and > > > option "-nH" very well, I used to compare the grep output on > > > the same file(s) using > > > Linux, they were totally identical. > > > > > > In my _vimrc there stays > > > > > > set grepprg=c:\progra~1\gnuwin32\bin\grep.exe\ -nH\ $* B > > > > > > But nothing happens if I stay in \ref{}, in INSERT mode of > > > course. > > > > Try putting: > > :let g:Tex_Debug = 1 > > > > And after pressing <F9> from between the braces of a \ref{} tell me what > > :call Tex_PrintDebug('view') > > > > says. That should give a clue as to what latex-suite is trying to do and > > what is not working. > > My gvim automatically use czech language (probably because > of czech WinXP :) so I try to translate the output: > > <begin of output> > > Error processing function TeX_Complete..<SNR>45_Tex_SetupCWindow..Tex_Debug: > line 13: > E121: Variable not defined: s:debugString_ > E15: Bad expression: s:debugString_.pattern.' : '.a:str."\n" > Error processing function TeX_Complete..<SNR>45_Tex_SetupCWindow..<SNR>45_Tex_SyncPreviewWindow..Tex_Debug: > line 13: > E121: Variable not defined: s:debugString_ > E15: Bad expression: s:debugString_.pattern.' : '.a:str."\n" > No bibkey, label or word begging with "" > E121: Variable not defined: s:debugString_ > E15: Bad expression: s:debugString_.pattern.' : '.a:str."\n" > Error processing function TeX_Complete..<SNR>45_Tex_SetupCWindow..Tex_Debug: > line 13: > E121: Variable not defined: s:debugString_ > E15: Bad expression: s:debugString_.pattern.' : '.a:str."\n" > Press ENTER.... > > <end of output> > > Hopping this is the mirror of my output and no line wrap > (error output should contains 15 lines, 16th is "Press > ENTER..."). Some lines are the same, so it was not a hard > work :) Than I press ENTER and nothing happens. > > Milan I've misunderstood Your message. So the upper several lines are written by gvim only after pressing <F9> the lower ones after :call Tex_PrintDebug('view') immediately after <F9> <begin of output of :call Tex_PrintDebug('view')> s:type = ref, typeoption = silent! grep! '\\label{' *.tex +Tex_SetupCWindow +Tex_SyncPreviewWindow Tex_SyncPreviewWindow: got error E32, no matches found, quitting not in quickfix window, quitting <end of output of :call Tex_PrintDebug('view')> My mistake, sorry. As I mentioned, I use 'grep.exe', same output as grep on Linux with the same file(s). The latest test I made with grep within the directory with set grepprg=grep\ -nH\ $* in my _vimrc file. Milan |