 | | From: | Vlad | | Subject: | problem with spellchecker gvim 6.3 on XP | | Date: | 20 Jan 2005 22:01:48 -0800 |
|
|
 | i try to use vimspell.vim or vimaspell.vim and i get always similar error message: Can't open file .... \VIo14E.tmp
first 4 characters are always the same: VIo1CF.tmp or VIo1D0.tmp
|
|
 | | From: | Mikolaj Machowski | | Subject: | Re: problem with spellchecker gvim 6.3 on XP | | Date: | 21 Jan 2005 09:11:33 GMT |
|
|
 | Vlad scripsit: > i try to use vimspell.vim or vimaspell.vim and i get always similar > error message: Can't open file .... \VIo14E.tmp > > first 4 characters are always the same: VIo1CF.tmp or VIo1D0.tmp
Known problem. Author of vimspell doesn't have possibilities to test script on MS-Windows.
m. -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Vim Universal Templates: http://vim.sf.net/script.php?script_id=1078 vim.pl - http://skawina.eu.org/mikolaj CLEWN - http://clewn.sf.net
|
|
 | | From: | W. Citoan | | Subject: | Re: problem with spellchecker gvim 6.3 on XP | | Date: | Fri, 21 Jan 2005 12:31:27 -0000 |
|
|
 | Vlad wrote: > i try to use vimspell.vim or vimaspell.vim and i get always similar > error message: Can't open file .... \VIo14E.tmp > > first 4 characters are always the same: VIo1CF.tmp or VIo1D0.tmp
I hacked vimspell.vim to get it to work for me on Windows, but only with files that have been saved. I did it with the 1.84 version. You should be able to do the same with the 1.95 version as well, but haven't gotten around to downloading it yet.
In 1.84, you need to modify line 904 (you'll need to unfold the file first). Change from:
let l:errors=system(b:spell_executable . b:spell_options \. " -l -d ".b:spell_language." < ".escape(l:filename,' \'))
to this:
let l:errors=system(b:spell_executable . b:spell_options \. " -l -d ".b:spell_language." < \"".l:filename."\"")
Instead of using the built in escape command, that changes it to use quotes. There is another line for temporary files and I didn't spend a lot of time playing with it to get it to work.
As I said, this works for me, but it's a hack and YMMV...
- W. Citoan -- I have nothing to offer but blood, toil, tears, and sweat. -- Winston Churchill
|
|
 | | From: | Campbells | | Subject: | Re: problem with spellchecker gvim 6.3 on XP | | Date: | Sat, 22 Jan 2005 21:19:00 GMT |
|
|
 | Vlad wrote: > i try to use vimspell.vim or vimaspell.vim and i get always similar > error message: Can't open file .... \VIo14E.tmp > > first 4 characters are always the same: VIo1CF.tmp or VIo1D0.tmp
Try engspchk instead -- doesn't use tempname() to generate such files. Its at http://vim.sourceforge.net/scripts/script.php?script_id=195 .
Regards, Chip Campbell
|
|