[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.77,1.78
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2004-12-19 20:07:57
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6350 Modified Files: main.vim Log Message: Bug: If the main file ($1 if (.*).latexmain) is opened with vim, vim hangs itself up when opening other tex files in the same document. To reproduce: $ mkdir /tmp/latexhang $ cd !$ $ touch a.tex a.tex.latexmain b.tex $ screen -dm vim a.tex $ vim b.tex [...] Some times, a ctrl-c enables the editing of b.tex. (Martin Krafft) Why: ``screen -dm vim a.tex`` creates a .a.vim.swp file. In Tex_pack_updateall(), there is a ``split a.tex`` which makes vim put up the standard, "choose what to do" prompt. Unfortunately, this is not seen by the user. Therefore it looks like things have hung. Fix: Use ``sview a.tex`` instead of ``split a.tex``. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** main.vim 26 Aug 2004 17:52:45 -0000 1.77 --- main.vim 19 Dec 2004 20:07:46 -0000 1.78 *************** *** 606,610 **** " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.12" endfunction --- 606,610 ---- " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.13" endfunction |