I recently sent a patch to this mailing list fixing a problem in
texviewer.vim with it's way of calling outline.py. I didn't think at the
time about spaces in the filename as well. So I have created a new patch
which fixes the problem on windows. This patch is against the current
SVN version, it includes a workaround for a problem in vim with the
default shellxquote on windows (see See
http://groups.google.com/group/vim_dev/browse_thread/thread/3d1cc6cb0c0d27b3).
Peter, this may also fix your problem, could you test it for me on your
system?
Thanks,
Tom
--- texviewer.vim 2009-04-24 11:31:19.043935400 +0100
+++ texviewer_new.vim 2009-04-24 12:27:44.293935400 +0100
@@ -766,7 +766,19 @@ function! Tex_StartOutlineCompletion()
0put!=retval
else
- exec '0r!'.shellescape(s:path.'/outline.py').' '.mainfname.'
'.s:prefix
+ " Windows defaults for shellxquote are bad curretly.
+ " See
http://groups.google.com/group/vim_dev/browse_thread/thread/3d1cc6cb0c0d27b3
+ if has('win32') || has('win16') || has('win64')
+ let shxq_sav=&shellxquote
+ let shcf_sav=&shellcmdflag
+ set shellxquote=\"
+ set shellcmdflag=/s\ /c
+ endif
+ exec '0r!'.shellescape(s:path.'/outline.py').'
'.shellescape(mainfname).' '.s:prefix
+ if has('win32') || has('win16') || has('win64')
+ let &shellxquote=shxq_sav
+ let &shellcmdflag=shcf_sav
+ endif
endif
0
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel