Hi All,

i was having problems with gvim hanging when i tried to edit my vimrc.

After a bit of sleuthing, i tracked it down to has("tcl") hanging
(called from syntax/vim.vim). If i :echo has("tcl"), the gvim window
stops responding, and clicking the close box pops up the windows
"program not responding" dialog, etc. A bit more sleuthing revealed
that the culprit is the cygwin tcl84.dll which (in my setup) is in the
path visible to gvim. If i hide that (e.g. by putting an empty file
called tcl84.dll earlier in the path, or in the directory containing
gvim.exe), has("tcl") reports 0 as expected.

Note that i don't actually want tcl support, and certainly don't
expect the cygwin tcl84.dll to work - if i want tcl i can download the
windows version and put it earlier in my path.  The workaround of an
empty tcl84.dll in the vim directory works fine for me.

I just figured this was worth reporting, since hangs are annoying, and
i couldn't find anything in the archives about this (or the
workaround). I'm a little curious that the empty file hack worked - i
guess the cygwin dll looks enough like the real one that vim tries to
call something in it and gets hosed ? Sorry i haven't had a chance to
compile my own and take a look at it in a debugger yet.

I'm using the gvim-7-0-118.exe installer from the cream soruceforge
site. Note that i've not installed cream, just one of their plain vim
installers, as this seemed the easiest way to get a compiled, patched,
win32 vim. The download site i used was
 http://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721

- robbie

Reply via email to