[Vim-latex-cvs] vimfiles/plugin remoteOpen.vim,1.3,1.4
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2004-03-14 19:48:29
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2308 Modified Files: remoteOpen.vim Log Message: Bug: RemoteOpen does not work with file names with spaces. Why: The following vim command :drop File Name with spaces opens up multiple files. Fix: escape() the file name before issuing the drop command. NOTE: There is a vim bug where exec "drop ".escape(filename, '\ ') hangs GVIM. Index: remoteOpen.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/remoteOpen.vim,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** remoteOpen.vim 29 Feb 2004 07:26:22 -0000 1.3 --- remoteOpen.vim 14 Mar 2004 19:39:29 -0000 1.4 *************** *** 50,53 **** --- 50,54 ---- let filename = matchstr(a:arglist, '^\s*\zs.*\ze') endif + let filename = escape(filename, ' ') call Tex_Debug("linenum = ".linenum.', filename = '.filename, "ropen") |