Closed matjon closed 9 years ago
This will probably also affect the -r
command line option, when processing directories with names containing spaces.
Non-ASCII names in files are also not supported:
(3-6. as before)
mateusz@mateusz-ubuntu:/tmp$ cvim
Traceback (most recent call last):
File "/home/mateusz/bin/cvim", line 266, in <module>
swap = Swap(sp)
File "/home/mateusz/bin/cvim", line 111, in __init__
self.swap = swap.decode(encoding)
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 8-15: ordinal not in range(128)
mateusz@mateusz-ubuntu:/tmp$
(it's probably related somehow)
I am not a python programmer. I'll try to look into this, when I get some spare time, but this probably won't happen any time soon
Hello,
Steps to reproduce:
cd /tmp
vim 'testing file.txt'
jobs -l
,kill 30464 -s SIGKILL
). (actually this sequence of commands does make vim save the file somehow)cvim
Vim will then print the following error message:
Rough translation:
Fortunately this does not destroy any data (though I did not do extensive tests).
Cvim was modified a bit to disable checking for a running vim instance as I did not want to install psutils. This should not affect the described behaviour, though.