Update of /cvsroot/vim-latex/vimfiles/compiler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18702
Modified Files:
tex.vim
Log Message:
Bug: If an error is of the form
>> ! Missing $ inserted.
>> <inserted text>
>> $
>> l.9
>>
>> I've inserted a begin-math/end-math symbol since I think
>> you left one out. Proceed, with fingers crossed.
(there's a single <space> after l.9), then the line number is not
recognized.
Why: The 'efm' setting contains only '%+Cl.%l\ %m', which means that the
line number is recognized only when the "l.<number><space>" is
followed by a message.
Fix: Append '%+Cl.%l\ ' to the 'efm'.
Index: tex.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/compiler/tex.vim,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** tex.vim 24 Jul 2003 02:52:35 -0000 1.6
--- tex.vim 14 May 2004 17:33:20 -0000 1.7
***************
*** 209,212 ****
--- 209,213 ----
exec 'setlocal efm+=%'.pm.'Cl.%l\ %m'
+ exec 'setlocal efm+=%'.pm.'Cl.%l\ '
exec 'setlocal efm+=%'.pm.'C\ \ %m'
exec 'setlocal efm+=%'.pm.'C%.%#-%.%#'
|